Fixing code styles

This commit is contained in:
ecmnet
2016-02-05 18:23:22 +01:00
committed by Lorenz Meier
parent edfbb90656
commit f725ded9d4
+7 -5
View File
@@ -264,6 +264,7 @@ SF10A::init()
int ret2 = measure();
if (ret2 == 0) {
ret = OK;
_sensor_ok = true;
@@ -606,13 +607,14 @@ SF10A::cycle()
{
set_address(SF10A_BASEADDR);
/* Collect results */
if (OK != collect()) {
DEVICE_DEBUG("collection error");
/* if error restart the measurement state machine */
start();
return;
}
DEVICE_DEBUG("collection error");
/* if error restart the measurement state machine */
start();
return;
}
/* Trigger measurement */