Browse Source

Tweak failed init text (#15)

Paulus Schoutsen 4 years ago
parent
commit
56a0352039
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/flash.ts

+ 1 - 1
src/flash.ts

@@ -52,7 +52,7 @@ export const flash = async (
       fireStateEvent({
       fireStateEvent({
         state: State.ERROR,
         state: State.ERROR,
         message:
         message:
-          "Failed to initialize. Try resetting your device or holding the BOOT button before clicking connect.",
+          "Failed to initialize. Try resetting your device or holding the BOOT button while selecting your serial port.",
         details: { error: FlashError.FAILED_INITIALIZING, details: err },
         details: { error: FlashError.FAILED_INITIALIZING, details: err },
       });
       });
       await esploader.disconnect();
       await esploader.disconnect();