Update: 更新web device初始化逻辑

This commit is contained in:
王立帮
2025-02-07 20:47:04 +08:00
parent e881d3b5dc
commit 8a728f93c1
2 changed files with 3 additions and 3 deletions

View File

@@ -35,7 +35,7 @@ if (platform === 'win32' && fullPlatform !== 'win10') {
Device = USBMini;
}
}
} else if (['android', 'ios'].includes(fullPlatform)) {
} else if (platform === 'mobile') {
if (['BBC micro:bit', 'Mithon CC'].includes(BOARD.boardType)) {
Device = USB;
} else {