summaryrefslogtreecommitdiff
path: root/ports/atmel-samd/background.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/atmel-samd/background.c')
-rw-r--r--ports/atmel-samd/background.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/ports/atmel-samd/background.c b/ports/atmel-samd/background.c
index 62c233a3f..237395b6b 100644
--- a/ports/atmel-samd/background.c
+++ b/ports/atmel-samd/background.c
@@ -44,16 +44,19 @@
// so you can't use this code AND an i2c peripheral
// at the same time unless you change this
void port_start_background_task(void) {
- REG_PORT_DIRSET1 = (1<<3);
- REG_PORT_OUTSET1 = (1<<3);
+ REG_PORT_DIRSET1 = (1 << 3);
+ REG_PORT_OUTSET1 = (1 << 3);
}
void port_finish_background_task(void) {
- REG_PORT_OUTCLR1 = (1<<3);
+ REG_PORT_OUTCLR1 = (1 << 3);
}
#else
-void port_start_background_task(void) {}
-void port_finish_background_task(void) {}
+void port_start_background_task(void) {
+}
+void port_finish_background_task(void) {
+}
#endif
-void port_background_task(void) {}
+void port_background_task(void) {
+}