Skip to content

Commit 9e175db

Browse files
Naveen KajeNaveen Kaje
authored andcommitted
NRF52: Ensure that we configure hardware after flow control changes
Call the routines to program the hardware to reflect the updates made to flow control so that the object and hardware are in synch.
1 parent 920db63 commit 9e175db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/serial_api.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1257,6 +1257,7 @@ void serial_set_flow_control(serial_t *obj, FlowControl type, PinName rxflow, Pi
12571257

12581258
/* Force reconfiguration next time object is owner. */
12591259
uart_object->update = true;
1260+
nordic_nrf5_serial_configure(obj);
12601261
}
12611262

12621263
/** Clear the serial peripheral

0 commit comments

Comments
 (0)