diff --git a/libraries/AP_MSP/AP_MSP.cpp b/libraries/AP_MSP/AP_MSP.cpp index 9c2227a5f1..23e7db8408 100644 --- a/libraries/AP_MSP/AP_MSP.cpp +++ b/libraries/AP_MSP/AP_MSP.cpp @@ -79,33 +79,29 @@ bool AP_MSP::init_backend(uint8_t backend_idx, AP_HAL::UARTDriver *uart, AP_Seri void AP_MSP::init() { const AP_SerialManager &serial_manager = AP::serialmanager(); - uint8_t backend_instance = 0; AP_HAL::UARTDriver *uart = nullptr; // DJI FPV backends for (uint8_t protocol_instance=0; protocol_instance