summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/main.c')
-rw-r--r--stmhal/main.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/stmhal/main.c b/stmhal/main.c
index 4fa5b2a436..5d405453b1 100644
--- a/stmhal/main.c
+++ b/stmhal/main.c
@@ -21,7 +21,8 @@
#include "usart.h"
#include "timer.h"
#include "led.h"
-#include "exti.h"
+#include "pin.h"
+#include "extint.h"
#include "usrsw.h"
#include "usb.h"
#include "rtc.h"
@@ -34,7 +35,6 @@
#include "accel.h"
#include "servo.h"
#include "dac.h"
-#include "pin.h"
#if 0
#include "pybwlan.h"
#endif
@@ -292,10 +292,11 @@ soft_reset:
readline_init();
- exti_init();
+ pin_init();
+ extint_init();
#if MICROPY_HW_HAS_SWITCH
- // must come after exti_init
+ // must come after extint_init
switch_init();
#endif
@@ -304,8 +305,6 @@ soft_reset:
lcd_init();
#endif
- pin_map_init();
-
// local filesystem init
{
// try to mount the flash