|
|
@ -119,7 +119,7 @@ inline void handleInterrupt(uavcan::uint8_t iface_index, uavcan::uint8_t line_in |
|
|
|
} // namespace
|
|
|
|
} // namespace
|
|
|
|
|
|
|
|
|
|
|
|
uint32_t CanIface::FDCANMessageRAMOffset_ = 0; |
|
|
|
uint32_t CanIface::FDCANMessageRAMOffset_ = 0; |
|
|
|
#if !HAL_MINIMIZE_FEATURES |
|
|
|
#if AP_UAVCAN_SLCAN_ENABLED |
|
|
|
SLCANRouter CanIface::_slcan_router; |
|
|
|
SLCANRouter CanIface::_slcan_router; |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
@ -695,7 +695,7 @@ bool CanIface::readRxFIFO(uavcan::uint8_t fifo_index) |
|
|
|
* Store with timeout into the FIFO buffer and signal update event |
|
|
|
* Store with timeout into the FIFO buffer and signal update event |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
rx_queue_.push(frame, utc_usec, 0); |
|
|
|
rx_queue_.push(frame, utc_usec, 0); |
|
|
|
#if !HAL_MINIMIZE_FEATURES |
|
|
|
#if AP_UAVCAN_SLCAN_ENABLED |
|
|
|
_slcan_router.route_frame_to_slcan(this, frame, utc_usec); |
|
|
|
_slcan_router.route_frame_to_slcan(this, frame, utc_usec); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
return true; |
|
|
|
return true; |
|
|
|