AP_EFI: move and rename CAN Driver_Type enumeration

This commit is contained in:
Peter Barker 2023-04-18 17:24:17 +10:00 committed by Peter Barker
parent 80752af077
commit b6cb47d3cd
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ AP_EFI_NWPMU::AP_EFI_NWPMU(AP_EFI &_frontend) :
CANSensor("NWPMU"), CANSensor("NWPMU"),
AP_EFI_Backend(_frontend) AP_EFI_Backend(_frontend)
{ {
register_driver(AP_CANManager::Driver_Type_EFI_NWPMU); register_driver(AP_CAN::Protocol::EFI_NWPMU);
} }
void AP_EFI_NWPMU::handle_frame(AP_HAL::CANFrame &frame) void AP_EFI_NWPMU::handle_frame(AP_HAL::CANFrame &frame)