微调日志

This commit is contained in:
yangjiaxuan 2023-08-03 16:48:05 +08:00
parent cb3f9a077b
commit 908bc71197
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ int hg_scanner_239::get_scan_mode(bool &type)
ret = read_register(setting3399::SR_OS, &val); //val == 1计数模式 ret = read_register(setting3399::SR_OS, &val); //val == 1计数模式
type =val == 1 ? false : true; type =val == 1 ? false : true;
VLOG_MINI_1(LOG_LEVEL_DEBUG_INFO, "get_scan_mode: %s\n", type ? hg_scanner_err_description(SCANNER_ERR_DEVICE_COUNT_MODE) : hg_scanner_err_description(SCANNER_ERR_OK)); VLOG_MINI_1(LOG_LEVEL_DEBUG_INFO, "get_scan_mode: %s\n", !type ? hg_scanner_err_description(SCANNER_ERR_DEVICE_COUNT_MODE) : hg_scanner_err_description(SCANNER_ERR_OK));
return ret; return ret;
} }