Fix compilation of baro sim on Linux

This commit is contained in:
Lorenz Meier
2015-12-01 13:54:37 +01:00
parent a54b40c457
commit bc1639386b
+1 -2
View File
@@ -534,10 +534,9 @@ BAROSIM::cycle()
if (ret != OK) {
uint8_t cmd = ADDR_RESET_CMD;
int result;
/* bump the retry count */
result = transfer(&cmd, 1, nullptr, 0);
(void)transfer(&cmd, 1, nullptr, 0);
/* reset the collection state machine and try again */
//start_cycle();