summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;