Skip to content

Commit

Permalink
add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
liamcottle committed Jul 24, 2024
1 parent 0fa7055 commit 3955479
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -410,8 +410,12 @@
}

// enter dfu mode
console.log("entering dfu mode");
const flasher = new Nrf52DfuFlasher(serialPort);
await flasher.enterDfuMode();
console.log("entering dfu mode: done");

alert("Device should now be in DFU mode.");

},
async flash() {
Expand Down

0 comments on commit 3955479

Please sign in to comment.