Include pcb version information
This commit is contained in:
@@ -1435,10 +1435,12 @@
|
||||
.then(function (result) {
|
||||
let currentType;
|
||||
let currentVersion;
|
||||
let currentPcbVersion;
|
||||
let chipid;
|
||||
forEl('.status-version', function (el) { currentVersion = el.textContent });
|
||||
forEl('.status-fwtype', function (el) { currentType = el.textContent });
|
||||
forEl('.status-chipid', function (el) { chipid = el.textContent });
|
||||
forEl('.status-pcbversion', function (el) { currentPcbVersion = el.textContent });
|
||||
let confirmText = 'Ready to update firmware?\n';
|
||||
if (result.chipId != chipid) {
|
||||
confirmText += "WARNING: the chipid in the image (" + result.chipId;
|
||||
|
||||
Reference in New Issue
Block a user