mirror of https://github.com/ArduPilot/ardupilot
AP_EFI: use separate register_driver method while contructing CAN Driver
This commit is contained in:
parent
36b3fcc1a0
commit
97a04c85f0
|
@ -26,9 +26,10 @@
|
|||
extern const AP_HAL::HAL& hal;
|
||||
|
||||
AP_EFI_NWPMU::AP_EFI_NWPMU(AP_EFI &_frontend) :
|
||||
CANSensor("NWPMU", AP_CANManager::Driver_Type_EFI_NWPMU),
|
||||
CANSensor("NWPMU"),
|
||||
AP_EFI_Backend(_frontend)
|
||||
{
|
||||
register_driver(AP_CANManager::Driver_Type_EFI_NWPMU);
|
||||
}
|
||||
|
||||
void AP_EFI_NWPMU::handle_frame(AP_HAL::CANFrame &frame)
|
||||
|
|
Loading…
Reference in New Issue