blinkm: Let user know that we just did not find one and this is not an error

This commit is contained in:
Lorenz Meier
2015-04-25 09:01:53 +02:00
parent 1a527ba9b4
commit 346798b129

View File

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