mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 09:28:58 +00: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user