fix: Flash-Lock im SDK, Store-Lock, Flush vor Reboot
This commit is contained in:
@@ -9,7 +9,13 @@ void nl_app_lock(void);
|
||||
void nl_app_unlock(void);
|
||||
uint32_t nl_app_now_ms(void);
|
||||
nl_settings_t *nl_app_settings(void);
|
||||
/* Copies the settings under the app lock and writes them under the store lock; never call
|
||||
* while holding the app lock. */
|
||||
int nl_app_save_settings(void);
|
||||
/* Writes a pending light state immediately (no write when unchanged). */
|
||||
void nl_app_flush(void);
|
||||
/* Flushes pending state, then resets the chip. Does not return. */
|
||||
void nl_app_reboot(void);
|
||||
void nl_app_factory_reset(void);
|
||||
|
||||
/* Only sets a volatile flag; the app task (which owns the flash stores) checks it
|
||||
|
||||
Reference in New Issue
Block a user