diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-05-27 16:58:03 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-05-27 16:58:30 +0200 |
commit | f1a8f6e75b98768daa5bc5290ccf60156d8185da (patch) | |
tree | f4f85644941e24c9d85a4f299cf05df71f856904 /src/drivers | |
parent | eab01a2efd0c1f1fc9cf32181c63a7e5494f0004 (diff) | |
download | px4-firmware-f1a8f6e75b98768daa5bc5290ccf60156d8185da.tar.gz px4-firmware-f1a8f6e75b98768daa5bc5290ccf60156d8185da.tar.bz2 px4-firmware-f1a8f6e75b98768daa5bc5290ccf60156d8185da.zip |
Hotfix: Made HMC driver more verbose to prevent false alarm
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/hmc5883/hmc5883.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/hmc5883/hmc5883.cpp b/src/drivers/hmc5883/hmc5883.cpp index 78eda327c..7de394f24 100644 --- a/src/drivers/hmc5883/hmc5883.cpp +++ b/src/drivers/hmc5883/hmc5883.cpp @@ -1224,10 +1224,12 @@ start() errx(1, "already started"); /* create the driver, attempt expansion bus first */ + warnx("probing for external sensor.."); g_dev = new HMC5883(PX4_I2C_BUS_EXPANSION); if (g_dev != nullptr && OK != g_dev->init()) { delete g_dev; g_dev = nullptr; + warnx("no external sensor, using internal.."); } |