This commit is contained in:
Willy-JL
2024-03-29 00:47:07 +00:00
81 changed files with 1260 additions and 970 deletions

View File

@@ -18,7 +18,7 @@ bool expansion_settings_load(ExpansionSettings* settings) {
EXPANSION_SETTINGS_VERSION);
}
bool expansion_settings_save(ExpansionSettings* settings) {
bool expansion_settings_save(const ExpansionSettings* settings) {
furi_assert(settings);
return saved_struct_save(
EXPANSION_SETTINGS_PATH,

View File

@@ -36,7 +36,7 @@ bool expansion_settings_load(ExpansionSettings* settings);
* @param[in] settings pointer to an ExpansionSettings instance to save settings from.
* @returns true if the settings were successfully saved, false otherwise.
*/
bool expansion_settings_save(ExpansionSettings* settings);
bool expansion_settings_save(const ExpansionSettings* settings);
#ifdef __cplusplus
}