Update: 将xpython板卡工具栏 烧录额外固件 选项与已有 固件烧录 选项合并

This commit is contained in:
王立帮
2024-10-07 23:32:10 +08:00
parent 56204fe160
commit 77b54538fa
3 changed files with 16 additions and 7 deletions

View File

@@ -361,7 +361,12 @@ BU.initBurn = function () {
BU.getDisksWithVolumesName('burn', burn.volume, burn.filePath);
} else {
const port = Serial.getSelectedPortName();
BU.burnWithPort(port, burn.command);
if (burn.special && burn.special instanceof Array) {
BU.burning = false;
BU.burnWithSpecialBin();
} else {
BU.burnWithPort(port, burn.command);
}
}
}