mirror of https://github.com/ArduPilot/ardupilot
ArduCopter - changed Sonar to use A1 (was AN4)
This commit is contained in:
parent
a8574e813d
commit
598593e1fc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue