boards: pic32-wifire: Fix UART RX pinmux register
U4RXREG is the RX buffer for UART4. U4RXR is the register for controlling the input pin for UART4. Signed-off-by: Francois Berder <francois.berder@imgtec.com>
This commit is contained in:
parent
ea04d9af33
commit
407031dc54
@ -23,7 +23,7 @@ void board_init(void)
|
||||
* Setup pin mux for UART4 this is the one connected
|
||||
* to the ftdi chip (usb<->uart)
|
||||
*/
|
||||
U4RXREG = 0xb; /* connect pin RPF2 to UART 4 RX */
|
||||
U4RXR = 0xb; /* connect pin RPF2 to UART 4 RX */
|
||||
RPF8R = 0x2; /* connect pin RPF8 to UART 4 TX */
|
||||
|
||||
/* intialise UART used for debug (printf) */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user