Skip to content

Commit 3eacc3b

Browse files
author
Owen L - SFE
committed
modify whitespace
1 parent 03a1aa6 commit 3eacc3b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cores/arduino/am_sdk_ap3/mcu/apollo3/hal/am_hal_uart.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
// Baudrate to byte-time in microseconds with a little extra margin.
8282
//
8383
//*****************************************************************************
84-
#define ONE_BYTE_US(baudrate) (12000000/(baudrate))
84+
#define ONE_BYTE_US(baudrate) (12000000/(baudrate))
8585
#define ONE_BYTE_DELAY(handle) \
8686
am_hal_flash_delay(FLASH_CYCLES_US(ONE_BYTE_US((handle)->ui32BaudRate)))
8787

@@ -299,9 +299,9 @@ am_hal_uart_power_control(void *pHandle,
299299
UARTn(ui32Module)->IBRD = pState->sRegState.regIBRD;
300300
UARTn(ui32Module)->FBRD = pState->sRegState.regFBRD;
301301
UARTn(ui32Module)->LCRH = pState->sRegState.regLCRH;
302-
UARTn(ui32Module)->CR = pState->sRegState.regCR;
302+
UARTn(ui32Module)->CR = pState->sRegState.regCR;
303303
UARTn(ui32Module)->IFLS = pState->sRegState.regIFLS;
304-
UARTn(ui32Module)->IER = pState->sRegState.regIER;
304+
UARTn(ui32Module)->IER = pState->sRegState.regIER;
305305

306306
pState->sRegState.bValid = false;
307307

@@ -322,9 +322,9 @@ am_hal_uart_power_control(void *pHandle,
322322
pState->sRegState.regIBRD = UARTn(ui32Module)->IBRD;
323323
pState->sRegState.regFBRD = UARTn(ui32Module)->FBRD;
324324
pState->sRegState.regLCRH = UARTn(ui32Module)->LCRH;
325-
pState->sRegState.regCR = UARTn(ui32Module)->CR;
325+
pState->sRegState.regCR = UARTn(ui32Module)->CR;
326326
pState->sRegState.regIFLS = UARTn(ui32Module)->IFLS;
327-
pState->sRegState.regIER = UARTn(ui32Module)->IER;
327+
pState->sRegState.regIER = UARTn(ui32Module)->IER;
328328
pState->sRegState.bValid = true;
329329

330330
AM_CRITICAL_END

0 commit comments

Comments
 (0)