summaryrefslogtreecommitdiff
path: root/chip/stm32/usart_rx_interrupt-stm32f4.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/stm32/usart_rx_interrupt-stm32f4.c')
-rw-r--r--chip/stm32/usart_rx_interrupt-stm32f4.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/chip/stm32/usart_rx_interrupt-stm32f4.c b/chip/stm32/usart_rx_interrupt-stm32f4.c
index b796ae1175..1d86c7d5b6 100644
--- a/chip/stm32/usart_rx_interrupt-stm32f4.c
+++ b/chip/stm32/usart_rx_interrupt-stm32f4.c
@@ -1,4 +1,4 @@
-/* Copyright 2020 The Chromium OS Authors. All rights reserved.
+/* Copyright 2020 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -26,8 +26,8 @@ static void usart_rx_init(struct usart_config const *config)
static void usart_rx_interrupt_handler(struct usart_config const *config)
{
- intptr_t base = config->hw->base;
- int32_t status = STM32_USART_SR(base);
+ intptr_t base = config->hw->base;
+ int32_t status = STM32_USART_SR(base);
if (status & STM32_USART_SR_RXNE) {
uint8_t byte = STM32_USART_RDR(base);