mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 02:43:33 +08:00
STM32: Fixed critical sections
This commit is contained in:
@@ -159,7 +159,7 @@ public:
|
||||
void discardTimedOutTxMailboxes(uavcan::MonotonicTime current_time);
|
||||
|
||||
bool isTxBufferFull() const;
|
||||
bool isRxBufferEmpty() const { return rx_queue_.getLength() == 0; }
|
||||
bool isRxBufferEmpty() const;
|
||||
|
||||
virtual uavcan::uint64_t getErrorCount() const;
|
||||
uavcan::uint8_t yieldLastHardwareErrorCode();
|
||||
|
||||
Reference in New Issue
Block a user