AP_KDECAN: add argument for CAN filter, unsupported

This commit is contained in:
Siddharth Purohit 2019-01-19 13:32:21 +08:00 committed by Andrew Tridgell
parent a6b01901f1
commit dae9cbfad8
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ AP_KDECAN *AP_KDECAN::get_kdecan(uint8_t driver_index)
return static_cast<AP_KDECAN*>(AP::can().get_driver(driver_index));
}
void AP_KDECAN::init(uint8_t driver_index)
void AP_KDECAN::init(uint8_t driver_index, bool enable_filters)
{
_driver_index = driver_index;

View File

@ -43,7 +43,7 @@ public:
// Return KDECAN from @driver_index or nullptr if it's not ready or doesn't exist
static AP_KDECAN *get_kdecan(uint8_t driver_index);
void init(uint8_t driver_index) override;
void init(uint8_t driver_index, bool enable_filters) override;
// called from SRV_Channels
void update();