Skip to content

Commit

Permalink
Merge pull request #183 from archef2000/patch-1
Browse files Browse the repository at this point in the history
remove wrong argument for connect function
  • Loading branch information
brianignacio5 authored Mar 11, 2025
2 parents fa42a37 + e624d24 commit b3be8d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/esploader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ export class ESPLoader {
* @param {string} mode Reset mode to use for connection.
*/
async detectChip(mode: Before = "default_reset") {
await this.connect(mode, this.romBaudrate);
await this.connect(mode);
this.info("Detecting chip type... ", false);
if (this.chip != null) {
this.info(this.chip.CHIP_NAME);
Expand Down

0 comments on commit b3be8d6

Please sign in to comment.