AP_UAVCAN: remove singleton interface from slcan_router

This commit is contained in:
Siddharth Purohit 2019-07-07 11:54:31 +08:00 committed by Andrew Tridgell
parent 2f153a3577
commit 76ff347026
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ bool SLCAN::CAN::push_Frame(uavcan::CanFrame &frame)
frm.frame = frame;
frm.flags = 0;
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);
}