AP_CANManager: allow SLCAN to be initialized without CANManager

Co-authored-by: bugoblitorater <siddharthbharatpurohit@gmail.com>
This commit is contained in:
Tom Pittenger 2022-10-06 20:20:49 -07:00 committed by Andrew Tridgell
parent 9103140aa5
commit d238a542ed

View File

@ -101,6 +101,11 @@ public:
// Initialisation of SLCAN Passthrough method of operation
bool init_passthrough(uint8_t i);
void set_can_iface(AP_HAL::CANIface* can_iface)
{
_can_iface = can_iface;
}
void reset_params();
// Overriden methods