From ea04d9af3360dceca842d955545f3d92f3d284a5 Mon Sep 17 00:00:00 2001 From: Francois Berder Date: Wed, 19 Apr 2017 16:20:55 +0100 Subject: [PATCH] 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 --- boards/pic32-clicker/clicker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/pic32-clicker/clicker.c b/boards/pic32-clicker/clicker.c index 5998c36d4c..a3dabf1e9d 100644 --- a/boards/pic32-clicker/clicker.c +++ b/boards/pic32-clicker/clicker.c @@ -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) */