update: WTVClientCapabilities: add unknown bits instead of logging error

update: fix flashrom system
update: webone example config
update: app.js: more 'binary block' exclusions
update: fix tellyscript folder name for case-sensitive filesystems
This commit is contained in:
zefie
2021-08-06 00:05:58 -04:00
parent 832a20e9a6
commit 743989d4f0
7 changed files with 47 additions and 23 deletions

View File

@@ -122,6 +122,7 @@ class WTVClientCapabilities {
capabilities[flag_name] = flag;
}
var i = 0;
// process bitfield and set capabilities
Object.keys(bitfield).forEach(function (k) {
// Convert binary to boolean, 0 to false, 1 to true
@@ -131,7 +132,9 @@ class WTVClientCapabilities {
try {
add(capabilities_table[k][0], bitfield_result);
} catch (ex) {
console.error(" * Unknown configuration bit", k);
add('unknown-capability-' + i, bitfield_result);
i++;
//console.error(" * Unknown configuration bit", k, "with value", bitfield_result);
}
});