diff options
author | Damien George <damien.p.george@gmail.com> | 2017-07-19 13:12:10 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-07-19 13:12:10 +1000 |
commit | 761e4c7ff62896c7d8f8c3dfc3cc98a4cc4f2f6f (patch) | |
tree | ca794059e302b1947125d36f64c667acdde6ddbe /stmhal/uart.c | |
parent | c972c60dbe72d7448faff7f631dfb798b694093e (diff) | |
download | micropython-761e4c7ff62896c7d8f8c3dfc3cc98a4cc4f2f6f.tar.gz micropython-761e4c7ff62896c7d8f8c3dfc3cc98a4cc4f2f6f.zip |
all: Remove trailing spaces, per coding conventions.
Diffstat (limited to 'stmhal/uart.c')
-rw-r--r-- | stmhal/uart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/uart.c b/stmhal/uart.c index 735c6f168b..b4ff40e797 100644 --- a/stmhal/uart.c +++ b/stmhal/uart.c @@ -656,7 +656,7 @@ STATIC mp_obj_t pyb_uart_init_helper(pyb_uart_obj_t *self, mp_uint_t n_args, con self->read_buf_len = args.read_buf_len.u_int + 1; // +1 to adjust for usable length of buffer self->read_buf = m_new(byte, self->read_buf_len << self->char_width); __HAL_UART_ENABLE_IT(&self->uart, UART_IT_RXNE); - HAL_NVIC_SetPriority(self->irqn, IRQ_PRI_UART, IRQ_SUBPRI_UART); + HAL_NVIC_SetPriority(self->irqn, IRQ_PRI_UART, IRQ_SUBPRI_UART); HAL_NVIC_EnableIRQ(self->irqn); } |