mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
After the mb12xx driver was merged way too early, make the best out of it and fix up the init phase to the driver bails out if there is no sensor connected
This commit is contained in:
parent
a54c0395cc
commit
11cb9df05b
@ -259,9 +259,7 @@ out:
|
||||
int
|
||||
MB12XX::probe()
|
||||
{
|
||||
// TODO: take a range reading and see if it is between the min and max
|
||||
|
||||
return OK;
|
||||
return measure();
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user