dsp校正返回不支持
This commit is contained in:
parent
c389c75bbe
commit
e1502825ad
|
@ -1,4 +1,4 @@
|
|||
#include "hg_scanner_200.h"
|
||||
#include "hg_scanner_200.h"
|
||||
#include "../wrapper/hg_log.h"
|
||||
|
||||
#if defined(WIN32) || defined(_WIN64)
|
||||
|
@ -825,7 +825,9 @@ int hg_scanner_200::set_leaflet_scan(void)
|
|||
|
||||
int hg_scanner_200::set_clear_roller_num(void)
|
||||
{
|
||||
return SCANNER_ERR_DEVICE_NOT_SUPPORT;
|
||||
std::lock_guard<std::mutex> lock(io_lock_);
|
||||
USBCB usbcb = { setting3288dsp::CLR_ROLLER_NUM,0,4 };
|
||||
return writeusb(usbcb);
|
||||
}
|
||||
int hg_scanner_200::set_clear_history_num(void)
|
||||
{
|
||||
|
@ -980,6 +982,8 @@ int hg_scanner_200::get_devs_distortion_check_val(float& data)
|
|||
|
||||
int hg_scanner_200::set_auto_flat(int data)
|
||||
{
|
||||
return SCANNER_ERR_DEVICE_NOT_SUPPORT;
|
||||
|
||||
USBCB usbcb = { setting3288dsp::START_FLAT,data,0 };
|
||||
int len = sizeof(usbcb);
|
||||
int ret = SCANNER_ERR_OK;
|
||||
|
|
|
@ -1125,7 +1125,7 @@ void hg_scanner_239::thread_correction(void)
|
|||
sinfo.resize(len);
|
||||
|
||||
io_->read_bulk(&sinfo[0],&len);
|
||||
char buf[1024];
|
||||
char buf[2048];
|
||||
strcpy(buf, sinfo.c_str());
|
||||
notify_ui_working_status(buf, SANE_EVENT_STATUS, status_);
|
||||
printf("%s\r\n", sinfo.c_str());
|
||||
|
|
Loading…
Reference in New Issue