mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-07 00:13:59 -04:00
AP_CANManager: allow SLCAN to be initialized without CANManager
Co-authored-by: bugoblitorater <siddharthbharatpurohit@gmail.com>
This commit is contained in:
parent
9103140aa5
commit
d238a542ed
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user