aboutsummaryrefslogtreecommitdiff
path: root/ports/samd/samd_isr.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/samd_isr.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/samd_isr.c')
-rw-r--r--ports/samd/samd_isr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/samd/samd_isr.c b/ports/samd/samd_isr.c
index 8341df8c6..dcf80d28c 100644
--- a/ports/samd/samd_isr.c
+++ b/ports/samd/samd_isr.c
@@ -59,10 +59,10 @@ void Reset_Handler(void) {
#endif
// SCB->VTOR
- *((volatile uint32_t*)0xe000ed08) = (uint32_t)&isr_vector;
+ *((volatile uint32_t *)0xe000ed08) = (uint32_t)&isr_vector;
// SCB->CCR: enable 8-byte stack alignment for IRQ handlers, in accord with EABI
- *((volatile uint32_t*)0xe000ed14) |= 1 << 9;
+ *((volatile uint32_t *)0xe000ed14) |= 1 << 9;
// Initialise the cpu and peripherals
samd_init();