mirror of https://github.com/ArduPilot/ardupilot
HAL_ChibiOS: fixed bootloader build with F4 CAN
This commit is contained in:
parent
a732f846e6
commit
ef3d42ee9d
|
@ -496,7 +496,9 @@ void CANIface::handleTxMailboxInterrupt(uint8_t mailbox_index, bool txok, const
|
||||||
if (txok && !txi.pushed) {
|
if (txok && !txi.pushed) {
|
||||||
txi.pushed = true;
|
txi.pushed = true;
|
||||||
PERF_STATS(stats.tx_success);
|
PERF_STATS(stats.tx_success);
|
||||||
|
#if !defined(HAL_BOOTLOADER_BUILD)
|
||||||
stats.last_transmit_us = timestamp_us;
|
stats.last_transmit_us = timestamp_us;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue