mirror of https://github.com/ArduPilot/ardupilot
AP_KDECAN: add argument for CAN filter, unsupported
This commit is contained in:
parent
a6b01901f1
commit
dae9cbfad8
|
@ -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;
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue