aboutsummaryrefslogtreecommitdiff
path: root/ports/samd/mphalport.c
diff options
context:
space:
mode:
authorDamien George2020-02-27 15:36:53 +1100
committerDamien George2020-02-28 10:33:03 +1100
commit69661f3343bedf86e514337cff63d96cc42f8859 (patch)
treeaf5dfb380ffdb75dda84828f63cf9d840d992f0f /ports/samd/mphalport.c
parent3f39d18c2b884d32f0443e2e8114ff9d7a14d718 (diff)
all: Reformat C and Python source code with tools/codeformat.py.
This is run with uncrustify 0.70.1, and black 19.10b0.
Diffstat (limited to 'ports/samd/mphalport.c')
-rw-r--r--ports/samd/mphalport.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ports/samd/mphalport.c b/ports/samd/mphalport.c
index ebd9dcb5b..67fc2cb0d 100644
--- a/ports/samd/mphalport.c
+++ b/ports/samd/mphalport.c
@@ -93,7 +93,8 @@ void mp_hal_stdout_tx_strn(const char *str, mp_uint_t len) {
}
}
while (len--) {
- while (!(USARTx->USART.INTFLAG.bit.DRE)) { }
+ while (!(USARTx->USART.INTFLAG.bit.DRE)) {
+ }
USARTx->USART.DATA.bit.DATA = *str++;
}
}