1
0
Fork 0
mirror of https://github.com/silenty4ng/k5web synced 2025-04-19 00:29:49 +00:00
This commit is contained in:
Silent YANG 2024-02-01 22:25:37 +08:00
parent 8903144d90
commit 073911ed65

View file

@ -462,8 +462,8 @@
let scanlist = 0;
if(_channel.scanlist?.indexOf('I') >= 0) scanlist += 8;
if(_channel.scanlist?.indexOf('II') >= 0) scanlist += 4;
console.log((scanlist << 4) + 5)
rawEEPROM2.set([(scanlist << 4) + 5], i >> 4)
console.log((scanlist << 4) + 0)
rawEEPROM2.set([(scanlist << 4) + 0], i >> 4)
const mergedArray = new Uint8Array(0x10);
mergedArray.set(stringToUint8Array(_channel.name ?? "", appStore.configuration?.charset).subarray(0, 0x10), 0);