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:
Lorenz Meier 2013-03-09 11:20:06 +01:00
parent a54c0395cc
commit 11cb9df05b

View File

@ -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