diff --git a/libraries/AP_RSSI/AP_RSSI.cpp b/libraries/AP_RSSI/AP_RSSI.cpp index 3a98998c1a..c4095be898 100644 --- a/libraries/AP_RSSI/AP_RSSI.cpp +++ b/libraries/AP_RSSI/AP_RSSI.cpp @@ -23,9 +23,17 @@ extern const AP_HAL::HAL& hal; #define BOARD_RSSI_DEFAULT 1 #define BOARD_RSSI_ANA_PIN 11 #define BOARD_RSSI_ANA_PIN_HIGH 3.3f -#else +#endif + +#ifndef BOARD_RSSI_DEFAULT #define BOARD_RSSI_DEFAULT 0 +#endif + +#ifndef BOARD_RSSI_ANA_PIN #define BOARD_RSSI_ANA_PIN 0 +#endif + +#ifndef BOARD_RSSI_ANA_PIN_HIGH #define BOARD_RSSI_ANA_PIN_HIGH 5.0f #endif