1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 06:23:53 +01:00

boards: pic32-clicker: Fix UART RX pinmux register

U3RXREG is the RX buffer for UART3. U3RXR is the register for
controlling the input pin for UART3.

Signed-off-by: Francois Berder <francois.berder@imgtec.com>
This commit is contained in:
Francois Berder 2017-04-19 16:20:55 +01:00
parent fa51e4081d
commit ea04d9af33

View File

@ -22,7 +22,7 @@ void board_init(void)
* Setup pin mux for UART3 this is the one connected
* to the mickroBUS
*/
U3RXREG = 0x2; /*connect pin RPF5 to UART3 RX*/
U3RXR = 0x2; /*connect pin RPF5 to UART3 RX*/
RPF4R = 0x1; /*connect pin RPF4 to UART3 TX*/
/* intialise UART used for debug (printf) */