mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_CANManager: Delete unused methods
This commit is contained in:
parent
50cac76e0b
commit
cfaf9f9420
@ -106,16 +106,6 @@ static uint8_t hex2nibble(char c)
|
||||
return out;
|
||||
}
|
||||
|
||||
int SLCAN::CANIface::set_port(AP_HAL::UARTDriver* port)
|
||||
{
|
||||
if (port == nullptr) {
|
||||
return -1;
|
||||
}
|
||||
_port = port;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
bool SLCAN::CANIface::push_Frame(AP_HAL::CANFrame &frame)
|
||||
{
|
||||
AP_HAL::CANIface::CanRxItem frm;
|
||||
|
@ -100,9 +100,6 @@ public:
|
||||
// Initialisation of SLCAN Passthrough method of operation
|
||||
bool init_passthrough(uint8_t i);
|
||||
|
||||
// Set UART port to be used with slcan interface
|
||||
int set_port(AP_HAL::UARTDriver* port);
|
||||
|
||||
void reset_params();
|
||||
int8_t get_iface_num() const
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user