summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-09-06 14:53:17 +1000
committerDamien George <damien.p.george@gmail.com>2017-09-06 14:53:17 +1000
commit3101a8fe3287dabf3dcb103ff6e883d2e593f69f (patch)
treea24267671f27413d87ea963e3abed4988c4b463d
parentf1dd0fd7df758e2b3ac28dcdb16af8582577b814 (diff)
stm32: Replace stray tabs with spaces.
-rw-r--r--ports/stm32/extint.c2
-rw-r--r--ports/stm32/usb.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/ports/stm32/extint.c b/ports/stm32/extint.c
index 24a68c2a2..41943f1cd 100644
--- a/ports/stm32/extint.c
+++ b/ports/stm32/extint.c
@@ -83,7 +83,7 @@
// TODO Add python method to change callback object.
-#define EXTI_OFFSET (EXTI_BASE - PERIPH_BASE)
+#define EXTI_OFFSET (EXTI_BASE - PERIPH_BASE)
// Macro used to set/clear the bit corresponding to the line in the IMR/EMR
// register in an atomic fashion by using bitband addressing.
diff --git a/ports/stm32/usb.h b/ports/stm32/usb.h
index d39f49a6c..456f45208 100644
--- a/ports/stm32/usb.h
+++ b/ports/stm32/usb.h
@@ -44,8 +44,8 @@ typedef enum {
} pyb_usb_storage_medium_t;
typedef enum {
- USB_PHY_FS_ID = 0,
- USB_PHY_HS_ID = 1,
+ USB_PHY_FS_ID = 0,
+ USB_PHY_HS_ID = 1,
} USB_PHY_ID;
extern mp_uint_t pyb_usb_flags;