aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Common
diff options
context:
space:
mode:
authorAvi Levkovich <avi@twine-s.com>2021-01-03 16:52:43 +0200
committerAvi Levkovich <avi@twine-s.com>2021-01-03 16:52:43 +0200
commit6a2aa48d486a9f83449d7e2c5e85b62649763c49 (patch)
tree730d358a54f0cc5de81b41421f9e157294335918 /Software/Embedded_SW/Embedded/Common
parent760058380ff8a85a3f3185206c0621c01c6bd0e2 (diff)
downloadTango-6a2aa48d486a9f83449d7e2c5e85b62649763c49.tar.gz
Tango-6a2aa48d486a9f83449d7e2c5e85b62649763c49.zip
Set the default direction of RS485 to RX (in the function PinoutSet)
Diffstat (limited to 'Software/Embedded_SW/Embedded/Common')
-rw-r--r--Software/Embedded_SW/Embedded/Common/Sys_PinOut_Config/MCU_MAIN_pinout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Common/Sys_PinOut_Config/MCU_MAIN_pinout.c b/Software/Embedded_SW/Embedded/Common/Sys_PinOut_Config/MCU_MAIN_pinout.c
index fcede699f..921d5f07f 100644
--- a/Software/Embedded_SW/Embedded/Common/Sys_PinOut_Config/MCU_MAIN_pinout.c
+++ b/Software/Embedded_SW/Embedded/Common/Sys_PinOut_Config/MCU_MAIN_pinout.c
@@ -865,7 +865,7 @@ PinoutSet(void)
#ifdef USE_UART4_FOR_BTSR
// Configure the GPIO Pin PR0 for BTSR RS485 UART - Set as output to change to uart4 RS485 Direction:
ROM_GPIOPinTypeGPIOOutput(GPIO_PORTR_BASE, GPIO_PIN_0);
- ROM_GPIOPinWrite(GPIO_PORTR_BASE, GPIO_PIN_0, 0);
+ ROM_GPIOPinWrite(GPIO_PORTR_BASE, GPIO_PIN_0, 1);//RX 1 (remove the error CAB ERR on the BTSR screen?)
#endif
//
// Configure the GPIO Pin Mux for PR1