SpacehuhnTech / WiFiDuck

Wireless keystroke injection attack platform
http://wifiduck.com
MIT License
2.09k stars 368 forks source link

Settings wont save #12

Closed jLynx closed 4 years ago

jLynx commented 4 years ago

EEPROM does not seem to be working as any setting I change are not saved

jLynx commented 4 years ago

Its resetting because data.magic_num != SETTINGS_MAGIC_NUM

When I read the values out, I get data.magic_num: 0 SETTINGS_MAGIC_NUM: 1234567891

So for some reason it wont save, even when I call save()

jLynx commented 4 years ago

Found the issue. eeprom::begin(); was never being called. I will create a PR and close this when done

jLynx commented 4 years ago

Fixed in https://github.com/spacehuhn/WiFiDuck/pull/13

jLynx commented 4 years ago

Merged