Skip to content

Commit 599ecbe

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents f3cc597 + ca24cff commit 599ecbe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

main.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -925,6 +925,9 @@ int __attribute__((used)) main(void) {
925925
common_hal_nvm_bytearray_set_bytes(&common_hal_mcu_nvm_obj,0,&value_out,1);
926926
#endif
927927

928+
// Start the debug serial
929+
serial_early_init();
930+
928931
// Wait briefly to give a reset window where we'll enter safe mode after the reset.
929932
if (safe_mode == NO_SAFE_MODE) {
930933
safe_mode = wait_for_safe_mode_reset();
@@ -941,9 +944,6 @@ int __attribute__((used)) main(void) {
941944
supervisor_bluetooth_init();
942945
#endif
943946

944-
// Start the debug serial
945-
serial_early_init();
946-
947947
#if !INTERNAL_FLASH_FILESYSTEM
948948
// Set up anything that might need to get done before we try to use SPI flash
949949
// This is needed for some boards where flash relies on GPIO setup to work

0 commit comments

Comments
 (0)