GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||
GeezerVison is showing github.com — Alarm persist to flash by NeroBurner · Pull Request #1367 · InfiniTimeOrg/InfiniTime Conversation
|
|
Build size and comparison to main:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
9694ccd to
89f0664
Compare
|
rebased and squashed on current |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Haven't tested but looks sensible to me
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
89f0664 to
299d19f
Compare
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Untested but all LGTM
Sorry, something went wrong.
There was an error while loading. Please reload this page.
579be33 to
0d41924
Compare
|
I considered opening a comment on that text you just changed but decided it was too minor LOL |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
0d41924 to
ae860cc
Compare
Save the set alarm time to the SPI NOR flash, so it does not reset to the default value when the watch resets, e.g. due to watchdog timeout or reflashing of a new version of InfiniTime. Just like the `Settings.h` `LoadSettingsFromFile()` the previous alarm at boot (if available) and `SaveSettingsToFile()` the current alarm when the `Alarm.h` screen is closed (only if the settings have changed). The alarm-settings file is stored in `.system/alarm.dat`. The `.system` folder is created if it doesn't yet exist. Fixes: #1330
|
There is a segfault or freeze leading to a reboot on the second time when changing the alarm setting and exit the Alarm setting screen. Need to investigate |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Close the `lfs_dir` object for the `.system` dir after usage. Otherwise on the second changed alarm the system will lockup because the `.system` dir is already open and was never closed.
ae860cc to
b0ab1c4
Compare
|
found it, need to close the |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Did I miss that or did you only just add .system? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Second. I did add it recently, based in an old Diskussion about where to put pinetime system files and that they shouldn't be in the root for the user to be directly available. JF and Riksu9000 agreed that a subfolder .system is a goog place to put our configs. And the user can put their files at the root |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Alarm doesn't persist through resets
There was an error while loading. Please reload this page.