mirror of
https://github.com/silenty4ng/k5web
synced 2025-01-15 16:22:44 +00:00
Compare commits
No commits in common. "81ff1e2174e6aa19c8d0a061300a77193f279833" and "af7d34f2a90dd19142d3649d3646611ed9be5be4" have entirely different histories.
81ff1e2174
...
af7d34f2a9
3 changed files with 0 additions and 10 deletions
|
@ -55,7 +55,6 @@ export default {
|
|||
'global.8kb': '8KB (64Kbit)',
|
||||
'global.128kb': '128KB (1Mbit)',
|
||||
'global.256kb': '256KB (2Mbit)',
|
||||
'global.384kb': '384KB (3Mbit)',
|
||||
'global.512kb': '512KB (4Mbit)',
|
||||
'menu.rb': 'Backup/Restore',
|
||||
'menu.flash': 'Flasher',
|
||||
|
|
|
@ -55,7 +55,6 @@ export default {
|
|||
'global.8kb': '8KB(64Kbit)',
|
||||
'global.128kb': '128KB(1Mbit)',
|
||||
'global.256kb': '256KB(2Mbit)',
|
||||
'global.384kb': '384KB(3Mbit)',
|
||||
'global.512kb': '512KB(4Mbit)',
|
||||
'menu.rb': '备份/还原',
|
||||
'menu.flash': '固件升级',
|
||||
|
|
|
@ -117,14 +117,6 @@
|
|||
}
|
||||
await eeprom_write(appStore.connectPort, 0x3FFF8, bk3, 0x08, appStore.configuration?.uart);
|
||||
|
||||
const bk5 = await eeprom_read(appStore.connectPort, 0x5FFF8, 0x08, appStore.configuration?.uart);
|
||||
await eeprom_write(appStore.connectPort, 0x5FFF8, rawEEPROM, 0x08, appStore.configuration?.uart);
|
||||
const check5 = await eeprom_read(appStore.connectPort, 0x5FFF8, 0x08, appStore.configuration?.uart);
|
||||
if(rawEEPROM.toString() == check5.toString()){
|
||||
eepromSize = t('global.384kb')
|
||||
}
|
||||
await eeprom_write(appStore.connectPort, 0x5FFF8, bk5, 0x08, appStore.configuration?.uart);
|
||||
|
||||
const bk4 = await eeprom_read(appStore.connectPort, 0x7FFF8, 0x08, appStore.configuration?.uart);
|
||||
await eeprom_write(appStore.connectPort, 0x7FFF8, rawEEPROM, 0x08, appStore.configuration?.uart);
|
||||
const check4 = await eeprom_read(appStore.connectPort, 0x7FFF8, 0x08, appStore.configuration?.uart);
|
||||
|
|
Loading…
Reference in a new issue