mirror of https://github.com/ArduPilot/ardupilot
AP_RangeFinder: update minimum fw version of TFMiniPlus
Version 2.0.3 has important fixes to avoid having the sensor to lock up. Let's make sure we check for it and warn on console.
This commit is contained in:
parent
7d5c36113d
commit
77a06de66f
|
@ -99,8 +99,8 @@ bool AP_RangeFinder_Benewake_TFMiniPlus::init()
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (val[5] * 10000 + val[4] * 100 + val[3] < 10706) {
|
if (val[5] * 10000 + val[4] * 100 + val[3] < 20003) {
|
||||||
hal.console->printf(DRIVER ": minimum required FW version 1.7.6, but version %u.%u.%u found\n",
|
hal.console->printf(DRIVER ": minimum required FW version 2.0.3, but version %u.%u.%u found\n",
|
||||||
val[5], val[4], val[3]);
|
val[5], val[4], val[3]);
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue