调整协议命名
This commit is contained in:
parent
3b57fa8c56
commit
323bd217d9
|
@ -3623,7 +3623,7 @@ int hg_scanner::device_io_control(unsigned long code, void* data, unsigned* len)
|
|||
{
|
||||
return set_distortion_image(*((bool*)data));
|
||||
}
|
||||
else if(code == IO_CTRL_CODE_GET_DISTORTION_CHECK_VAL)
|
||||
else if(code == IO_CTRL_CODE_GET_PC_DISTORTION_CHECK_VAL)
|
||||
{
|
||||
if (distortion_val.h > 0)
|
||||
{
|
||||
|
@ -3632,7 +3632,7 @@ int hg_scanner::device_io_control(unsigned long code, void* data, unsigned* len)
|
|||
return SCANNER_ERR_OK;
|
||||
//return get_distortion_check_val(*((int*)data));
|
||||
}
|
||||
else if(code == IO_CTRL_CODE_SET_DISTORTION_CHECK_VAL)
|
||||
else if(code == IO_CTRL_CODE_SET_DISTORTION_DEVS_CHECK_VAL)
|
||||
{
|
||||
return set_devs_distortion_check_val(*((float*)data));
|
||||
}
|
||||
|
|
|
@ -1035,7 +1035,7 @@ void hg_scanner_239::thread_correction(void)
|
|||
if (info->Code == 4)
|
||||
{
|
||||
status_ = SCANNER_ERR_DEVICE_AUTO_FAIL_OVER;
|
||||
notify_ui_working_status(buf, SANE_EVENT_STATUS, status_);
|
||||
//notify_ui_working_status(buf, SANE_EVENT_STATUS, status_);
|
||||
break;
|
||||
}
|
||||
//break;
|
||||
|
|
Loading…
Reference in New Issue