Browse Source

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

sbg
Lorenz Meier 12 years ago
parent
commit
11cb9df05b
  1. 4
      apps/drivers/mb12xx/mb12xx.cpp

4
apps/drivers/mb12xx/mb12xx.cpp

@ -259,9 +259,7 @@ out: @@ -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…
Cancel
Save