Fix rgb backlight configuration and setup

This commit is contained in:
Willy-JL
2023-08-15 00:20:46 +02:00
parent fed21fae64
commit d413d30a2d
5 changed files with 28 additions and 6 deletions

View File

@@ -1,5 +1,6 @@
#include "xtreme.h"
#include <furi_hal.h>
#include <rgb_backlight.h>
#include <flipper_format/flipper_format.h>
#define TAG "XtremeSettings"
@@ -194,6 +195,8 @@ void XTREME_SETTINGS_LOAD() {
}
flipper_format_free(file);
furi_record_close(RECORD_STORAGE);
rgb_backlight_reconfigure(x->rgb_backlight);
}
void XTREME_SETTINGS_SAVE() {