Skip to content

Commit

Permalink
rm info chip magic, fix bundle atob ref (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
brianignacio5 authored Jul 18, 2024
1 parent 5782eb0 commit 34b93b4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const config = {
inlineDynamicImports: true
},
plugins: [
resolve({ preferBuiltins: false}),
resolve({ preferBuiltins: false, mainFields: ["browser"]}),
commonjs(),
babel({ exclude: 'node_modules/**', babelHelpers: "runtime", skipPreflightCheck: true }),
json({ namedExports: false, preferConst: true }),
Expand Down
1 change: 0 additions & 1 deletion src/esploader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,6 @@ export class ESPLoader {
if (!detecting) {
const chipMagicValue = (await this.readReg(0x40001000)) >>> 0;
this.debug("Chip Magic " + chipMagicValue.toString(16));
this.info("Chip Magic " + chipMagicValue.toString(16));
const chip = await magic2Chip(chipMagicValue);
if (this.chip === null) {
throw new ESPError(`Unexpected CHIP magic value ${chipMagicValue}. Failed to autodetect chip type.`);
Expand Down

0 comments on commit 34b93b4

Please sign in to comment.