AP_CANManager: Delete unused methods

This commit is contained in:
murata 2021-05-22 23:38:45 +09:00 committed by Peter Barker
parent 50cac76e0b
commit cfaf9f9420
2 changed files with 0 additions and 13 deletions

View File

@ -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;

View File

@ -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
{