diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2015-04-25 09:01:53 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-04-27 09:07:52 +0200 |
commit | 346798b129b9f13b511e04ff61679951625865a5 (patch) | |
tree | 939dc944bd20a68b01e76364f0d132fc5dd604b7 /src/drivers/blinkm | |
parent | 1a527ba9b4fe86d60fa87a7945c5cb39b36a2155 (diff) | |
download | px4-firmware-346798b129b9f13b511e04ff61679951625865a5.tar.gz px4-firmware-346798b129b9f13b511e04ff61679951625865a5.tar.bz2 px4-firmware-346798b129b9f13b511e04ff61679951625865a5.zip |
blinkm: Let user know that we just did not find one and this is not an error
Diffstat (limited to 'src/drivers/blinkm')
-rw-r--r-- | src/drivers/blinkm/blinkm.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/drivers/blinkm/blinkm.cpp b/src/drivers/blinkm/blinkm.cpp index d749a0d7b..cfa59eb3a 100644 --- a/src/drivers/blinkm/blinkm.cpp +++ b/src/drivers/blinkm/blinkm.cpp @@ -316,7 +316,6 @@ BlinkM::init() ret = I2C::init(); if (ret != OK) { - warnx("I2C init failed"); return ret; } @@ -970,7 +969,7 @@ blinkm_main(int argc, char *argv[]) if (OK != g_blinkm->init()) { delete g_blinkm; g_blinkm = nullptr; - errx(1, "init failed"); + errx(1, "no BlinkM found"); } exit(0); |