mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 05:58:30 -04:00
Plane: SITL has a I2C driver now
This commit is contained in:
parent
7ecf8981b9
commit
c20481dc94
@ -459,11 +459,7 @@ static void NOINLINE send_hwstatus(mavlink_channel_t chan)
|
||||
mavlink_msg_hwstatus_send(
|
||||
chan,
|
||||
board_voltage(),
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
|
||||
0);
|
||||
#else
|
||||
hal.i2c->lockup_count());
|
||||
#endif
|
||||
}
|
||||
|
||||
static void NOINLINE send_wind(mavlink_channel_t chan)
|
||||
|
Loading…
Reference in New Issue
Block a user