CMXX - Software updater - update version after firmwaretool update

This commit is contained in:
“VeLiTi”
2024-11-26 11:10:34 +01:00
parent 79edab3cc6
commit e3a728e73b
2 changed files with 7 additions and 5 deletions

View File

@@ -25,12 +25,13 @@ async function createFirmwareUpdate(){
var f = d.slice(d.length - 2)
hw = 'R'+f;
}
hex_fw = firmwarelocation.split("/firmware/").pop();
hex_fw = firmwarelocation.split("/firmware/").pop();
console.log(upgraded_version);
var testdetails2 = {
"HW" : hw,
"HEX_FW" : hex_fw
"HEX_FW" : upgraded_version
}
var testdetails = JSON.stringify(testdetails2);