HMC5883: Let user know we just did not find one

This commit is contained in:
Lorenz Meier
2015-04-25 09:02:34 +02:00
parent 3c76006541
commit 3835b7a6ec

View File

@@ -1490,8 +1490,9 @@ start(enum HMC5883_BUS busid, enum Rotation rotation)
started |= start_bus(bus_options[i], rotation);
}
if (!started)
errx(1, "driver start failed");
if (!started) {
exit(1);
}
}
/**