diff --git a/ArduCopter/config.h b/ArduCopter/config.h index 3abb31d789..0ebd2b0c36 100644 --- a/ArduCopter/config.h +++ b/ArduCopter/config.h @@ -170,7 +170,7 @@ # endif #elif CONFIG_SONAR_SOURCE == SONAR_SOURCE_ANALOG_PIN # ifndef CONFIG_SONAR_SOURCE_ANALOG_PIN -# define CONFIG_SONAR_SOURCE_ANALOG_PIN AN4 +# define CONFIG_SONAR_SOURCE_ANALOG_PIN A1 # endif #else # warning Invalid value for CONFIG_SONAR_SOURCE, disabling sonar