don't override modem port and baud settings with board defaults on rotorcraft when already set with a param

This commit is contained in:
Felix Ruess
2010-12-18 18:38:16 +01:00
parent 5db8f97a72
commit 0cd1a67264
3 changed files with 12 additions and 0 deletions
+4
View File
@@ -25,8 +25,12 @@ RADIO_CONTROL_LINK = UART0
BARO_LED = 2
ifndef MODEM_PORT
MODEM_PORT = UART1
endif
ifndef MODEM_BAUD
MODEM_BAUD = B57600
endif
AHRS_ALIGNER_LED = 3
+4
View File
@@ -22,8 +22,12 @@ SYS_TIME_LED = 1 # not used on rotorcraft, only for tests
RADIO_CONTROL_LINK = UART0
ifndef MODEM_PORT
MODEM_PORT = UART0
endif
ifndef MODEM_BAUD
MODEM_BAUD = B57600
endif
GPS_PORT=UART1
GPS_BAUD=B38400
+4
View File
@@ -41,8 +41,12 @@ RADIO_CONTROL_SPEKTRUM_PRIMARY_PORT = UART3
RADIO_CONTROL_SPEKTRUM_SECONDARY_PORT = UART5
RADIO_CONTROL_LED = 5
ifndef MODEM_PORT
MODEM_PORT=UART2
endif
ifndef MODEM_BAUD
MODEM_BAUD=B57600
endif
AHRS_ALIGNER_LED = 7