ArduCopter - changed Sonar to use A1 (was AN4)

This commit is contained in:
Randy Mackay 2012-01-08 17:48:30 +09:00
parent f4b530ebb1
commit 3dfa26920f
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@
# endif # endif
#elif CONFIG_SONAR_SOURCE == SONAR_SOURCE_ANALOG_PIN #elif CONFIG_SONAR_SOURCE == SONAR_SOURCE_ANALOG_PIN
# ifndef CONFIG_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 # endif
#else #else
# warning Invalid value for CONFIG_SONAR_SOURCE, disabling sonar # warning Invalid value for CONFIG_SONAR_SOURCE, disabling sonar