We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d4d784 commit cd165a2Copy full SHA for cd165a2
ports/stm32/main.c
@@ -605,6 +605,10 @@ void stm32_main(uint32_t reset_mode) {
605
extint_init0();
606
timer_init0();
607
608
+ #if MICROPY_PY_NETWORK
609
+ mod_network_init();
610
+ #endif
611
+
612
#if MICROPY_HW_ENABLE_CAN
613
pyb_can_init0();
614
#endif
@@ -697,10 +701,6 @@ void stm32_main(uint32_t reset_mode) {
697
701
servo_init();
698
702
699
703
700
- #if MICROPY_PY_NETWORK
- mod_network_init();
- #endif
-
704
// At this point everything is fully configured and initialised.
705
706
// Run main.py (or whatever else a board configures at this stage).
0 commit comments