Browse Source

AP_ToshibaCAN: add argument for enabling filters, unsupported

master
Siddharth Purohit 6 years ago committed by Andrew Tridgell
parent
commit
70da885214
  1. 2
      libraries/AP_ToshibaCAN/AP_ToshibaCAN.cpp
  2. 2
      libraries/AP_ToshibaCAN/AP_ToshibaCAN.h

2
libraries/AP_ToshibaCAN/AP_ToshibaCAN.cpp

@ -65,7 +65,7 @@ AP_ToshibaCAN *AP_ToshibaCAN::get_tcan(uint8_t driver_index) @@ -65,7 +65,7 @@ AP_ToshibaCAN *AP_ToshibaCAN::get_tcan(uint8_t driver_index)
}
// initialise ToshibaCAN bus
void AP_ToshibaCAN::init(uint8_t driver_index)
void AP_ToshibaCAN::init(uint8_t driver_index, bool enable_filters)
{
_driver_index = driver_index;

2
libraries/AP_ToshibaCAN/AP_ToshibaCAN.h

@ -33,7 +33,7 @@ public: @@ -33,7 +33,7 @@ public:
static AP_ToshibaCAN *get_tcan(uint8_t driver_index);
// initialise ToshibaCAN bus
void init(uint8_t driver_index) override;
void init(uint8_t driver_index, bool enable_filters) override;
// called from SRV_Channels
void update();

Loading…
Cancel
Save