[peripherals] ami601: silence warning

This commit is contained in:
Felix Ruess
2013-12-19 21:30:54 +01:00
parent 2842220b17
commit 7c466ff14c
+4 -2
View File
@@ -56,14 +56,16 @@ extern volatile uint32_t ami601_nb_err;
uint8_t i; \
for (i=0; i< AMI601_NB_CHAN; i++) { \
ami601_values[i] = ami601_i2c_trans.buf[3 + 2 * i]; \
ami601_values[i] += ami601_i2c_trans.buf[3 + 2 * i + 1] * 256;\
ami601_values[i] += ami601_i2c_trans.buf[3 + 2 * i + 1] * 256; \
} \
ami601_status = AMI601_DATA_AVAILABLE; \
_handler(); \
} \
break; \
default: \
break; \
} \
}
}
#endif