mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-11 17:13:56 -03:00
AP_UAVCAN: remove singleton interface from slcan_router
This commit is contained in:
parent
2f153a3577
commit
76ff347026
@ -75,7 +75,7 @@ bool SLCAN::CAN::push_Frame(uavcan::CanFrame &frame)
|
|||||||
frm.frame = frame;
|
frm.frame = frame;
|
||||||
frm.flags = 0;
|
frm.flags = 0;
|
||||||
frm.utc_usec = AP_HAL::micros64();
|
frm.utc_usec = AP_HAL::micros64();
|
||||||
slcan_router().route_frame_to_can(frm.frame, frm.utc_usec);
|
ChibiOS_CAN::CanIface::slcan_router().route_frame_to_can(frm.frame, frm.utc_usec);
|
||||||
return rx_queue_.push(frm);
|
return rx_queue_.push(frm);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user