mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 06:57:34 +08:00
Fix compilation of baro sim on Linux
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user