Browse Source

MPU6K: Report start scan not as failure, but as not found if sensor is not around

sbg
Lorenz Meier 9 years ago
parent
commit
9172bf7271
  1. 2
      src/drivers/mpu6000/mpu6000.cpp

2
src/drivers/mpu6000/mpu6000.cpp

@ -2186,7 +2186,7 @@ fail:
*g_dev_ptr = nullptr; *g_dev_ptr = nullptr;
} }
errx(1, "driver start failed"); errx(1, "no device on this bus");
} }
void void

Loading…
Cancel
Save