From daf34742474bdbaef3b5f97de77bf9ff0b4603ad Mon Sep 17 00:00:00 2001 From: Glenn Ruben Bakke Date: Wed, 31 May 2017 19:50:54 +0200 Subject: [PATCH] nrf5/modules/machine: Indention fix in uart module. --- nrf5/modules/machine/uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nrf5/modules/machine/uart.c b/nrf5/modules/machine/uart.c index 3e7393b61c..08c03876d8 100644 --- a/nrf5/modules/machine/uart.c +++ b/nrf5/modules/machine/uart.c @@ -268,7 +268,7 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_2(machine_hard_uart_writechar_obj, machine_hard_u /// Return value: The character read, as an integer. Returns -1 on timeout. STATIC mp_obj_t machine_hard_uart_readchar(mp_obj_t self_in) { machine_hard_uart_obj_t *self = self_in; - return MP_OBJ_NEW_SMALL_INT(uart_rx_char(self)); + return MP_OBJ_NEW_SMALL_INT(uart_rx_char(self)); } STATIC MP_DEFINE_CONST_FUN_OBJ_1(machine_hard_uart_readchar_obj, machine_hard_uart_readchar);