mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 09:28:58 +00:00
delete unused SENSORIOCCALTEST
This commit is contained in:
@@ -80,12 +80,7 @@ namespace Preflight
|
||||
|
||||
static int check_calibration(DevHandle &h, const char *param_template, int &devid)
|
||||
{
|
||||
bool calibration_found;
|
||||
|
||||
/* new style: ask device for calibration state */
|
||||
int ret = h.ioctl(SENSORIOCCALTEST, 0);
|
||||
|
||||
calibration_found = (ret == OK);
|
||||
bool calibration_found = false;
|
||||
|
||||
devid = h.ioctl(DEVIOCGDEVICEID, 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user