Сombining rgb_backlight and original_backlight finished.

- RGB Colors settings available only when Settings-Notification-RGB_MOD_Installed swithed ON
- RGB_MOD_Installed switch (ON|OFF) available in Notification only with Debug mode swithed ON.
This commit is contained in:
Dmitry422
2025-03-01 22:55:25 +07:00
parent 3c7d9e63fb
commit bb170140e2
3 changed files with 67 additions and 29 deletions

View File

@@ -33,7 +33,7 @@ typedef struct {
Light light;
} NotificationLedLayer;
#define NOTIFICATION_SETTINGS_VERSION 0x02
#define NOTIFICATION_SETTINGS_VERSION 0x03
#define NOTIFICATION_SETTINGS_PATH INT_PATH(NOTIFICATION_SETTINGS_FILE_NAME)
typedef struct {
@@ -44,6 +44,7 @@ typedef struct {
uint32_t display_off_delay_ms;
int8_t contrast;
bool vibro_on;
bool rgb_mod_installed;
} NotificationSettings;
struct NotificationApp {