nrf5/modules/machine: Indention fix in uart module.

This commit is contained in:
Glenn Ruben Bakke 2017-05-31 19:50:54 +02:00 committed by glennrub
parent ad1076b206
commit daf3474247

View File

@ -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. /// 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) { STATIC mp_obj_t machine_hard_uart_readchar(mp_obj_t self_in) {
machine_hard_uart_obj_t *self = 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); STATIC MP_DEFINE_CONST_FUN_OBJ_1(machine_hard_uart_readchar_obj, machine_hard_uart_readchar);