We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98b6127 commit ffbb755Copy full SHA for ffbb755
1 file changed
main.c
@@ -925,6 +925,9 @@ int __attribute__((used)) main(void) {
925
common_hal_nvm_bytearray_set_bytes(&common_hal_mcu_nvm_obj,0,&value_out,1);
926
#endif
927
928
+ // Start the debug serial
929
+ serial_early_init();
930
+
931
// Wait briefly to give a reset window where we'll enter safe mode after the reset.
932
if (safe_mode == NO_SAFE_MODE) {
933
safe_mode = wait_for_safe_mode_reset();
@@ -941,9 +944,6 @@ int __attribute__((used)) main(void) {
941
944
supervisor_bluetooth_init();
942
945
943
946
- // Start the debug serial
- serial_early_init();
-
947
#if !INTERNAL_FLASH_FILESYSTEM
948
// Set up anything that might need to get done before we try to use SPI flash
949
// This is needed for some boards where flash relies on GPIO setup to work
0 commit comments