diff --git a/libraries/AP_EFI/AP_EFI_NWPMU.cpp b/libraries/AP_EFI/AP_EFI_NWPMU.cpp index 9fd732ee15..66df829aec 100644 --- a/libraries/AP_EFI/AP_EFI_NWPMU.cpp +++ b/libraries/AP_EFI/AP_EFI_NWPMU.cpp @@ -32,7 +32,7 @@ AP_EFI_NWPMU::AP_EFI_NWPMU(AP_EFI &_frontend) : CANSensor("NWPMU"), 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)