aboutsummaryrefslogtreecommitdiff
path: root/ports/teensy/teensy_hal.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/teensy/teensy_hal.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/teensy/teensy_hal.c')
-rw-r--r--ports/teensy/teensy_hal.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ports/teensy/teensy_hal.c b/ports/teensy/teensy_hal.c
index e9cc6778d..342e7c650 100644
--- a/ports/teensy/teensy_hal.c
+++ b/ports/teensy/teensy_hal.c
@@ -9,17 +9,17 @@
#include "Arduino.h"
mp_uint_t mp_hal_ticks_ms(void) {
- return millis();
+ return millis();
}
void mp_hal_delay_ms(mp_uint_t ms) {
- delay(ms);
+ delay(ms);
}
void mp_hal_set_interrupt_char(int c) {
- // The teensy 3.1 usb stack doesn't currently have the notion of generating
- // an exception when a certain character is received. That just means that
- // you can't press Control-C and get your python script to stop.
+ // The teensy 3.1 usb stack doesn't currently have the notion of generating
+ // an exception when a certain character is received. That just means that
+ // you can't press Control-C and get your python script to stop.
}
uintptr_t mp_hal_stdio_poll(uintptr_t poll_flags) {