This commit is contained in:
13038267101 2023-07-07 18:40:14 +08:00
commit 6e0b8290a2
1 changed files with 1 additions and 1 deletions

View File

@ -3978,7 +3978,7 @@ int hg_scanner::device_io_control(unsigned long code, void* data, unsigned* len)
memcpy(v, custom_gamma_val_, sizeof(*custom_gamma_val_)); memcpy(v, custom_gamma_val_, sizeof(*custom_gamma_val_));
if (len) if (len)
*len = image_prc_param_.bits.color_mode; *len = sizeof(*custom_gamma_val_);
return SCANNER_ERR_OK; return SCANNER_ERR_OK;
} }