Skip to content

Commit 5daaed1

Browse files
dhalbertgithub-actions[bot]
authored andcommitted
Github Action: Updated dist files
1 parent 4fa568a commit 5daaed1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/cpinstaller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1389,7 +1389,7 @@ export class CPInstallButton extends InstallButton {
13891389

13901390
// This is necessary because chips with native USB will have a CIRCUITPY drive, which blocks writing via REPL
13911391
hasNativeUsb() {
1392-
if (!this.chipFamily || ("esp32", "esp32c3").includes(this.chipFamily)) {
1392+
if (!this.chipFamily || this.chipFamily == "esp32" || this.chipFamily.startsWith("esp32c")) {
13931393
return false;
13941394
}
13951395

0 commit comments

Comments
 (0)