mirror of https://github.com/rusefi/ChibiOS.git
Fixed misconfiguration of UART pins in the RT-360ADUCM360-ADICUP360/main.c
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13112 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
95baefba25
commit
25f3600e71
|
@ -65,8 +65,8 @@ int main(void) {
|
|||
* P0.1(TX) and P0.2(RX) are routed to UART0.
|
||||
*/
|
||||
sdStart(&SD0, NULL);
|
||||
palSetPadMode(GP0, 1, PAL_MODE_MULTIPLEXER(3));
|
||||
palSetPadMode(GP0, 2, PAL_MODE_MULTIPLEXER(3));
|
||||
palSetPadMode(GP0, 1, PAL_MODE_MULTIPLEXER(3) | PAL_ADUCM_PUL_PULLUP);
|
||||
palSetPadMode(GP0, 2, PAL_MODE_MULTIPLEXER(3) | PAL_ADUCM_PUL_PULLUP);
|
||||
|
||||
/*
|
||||
* Normal main() thread activity, in this demo it does nothing except
|
||||
|
|
Loading…
Reference in New Issue