Force FC status reset when flashing

10.8-maintenance
Asizon 2020-12-07 09:19:49 +01:00
parent b5185092c9
commit 5b836e0e68
2 changed files with 2 additions and 1 deletions

View File

@ -79,7 +79,7 @@
{{ firmwareId }}
</span>
<br />
<span v-if="firmwareVersion && hardwareId">
<span v-if="hardwareId">
{{ $t("versionLabelTarget") }}: {{ hardwareId }}
</span>
</span>

View File

@ -1076,6 +1076,7 @@ TABS.firmware_flasher.initialize = function (callback) {
function startFlashing() {
exitDfuElement.addClass('disabled');
FC.resetState();
if (!GUI.connect_lock) { // button disabled while flashing is in progress
if (self.parsed_hex) {
try {