From 21e2e9c148bdad581cafe8d8c85cac2bfab4112e Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Sat, 15 Mar 2025 08:14:00 +0300 Subject: [PATCH] fmt and return settings to original value [ci skip] --- applications/services/notification/notification_app.h | 4 ++-- applications/services/rgb_backlight/rgb_backlight.c | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/applications/services/notification/notification_app.h b/applications/services/notification/notification_app.h index 0209ffa0b..798b01ab6 100644 --- a/applications/services/notification/notification_app.h +++ b/applications/services/notification/notification_app.h @@ -34,7 +34,7 @@ typedef struct { Light light; } NotificationLedLayer; -#define NOTIFICATION_SETTINGS_VERSION 0x03 +#define NOTIFICATION_SETTINGS_VERSION 0x02 #define NOTIFICATION_SETTINGS_PATH INT_PATH(NOTIFICATION_SETTINGS_FILE_NAME) typedef struct { @@ -60,4 +60,4 @@ struct NotificationApp { RGBBacklightApp* rgb_srv; }; -void notification_message_save_settings(NotificationApp* app); \ No newline at end of file +void notification_message_save_settings(NotificationApp* app); diff --git a/applications/services/rgb_backlight/rgb_backlight.c b/applications/services/rgb_backlight/rgb_backlight.c index 5510ea916..4104c20d3 100644 --- a/applications/services/rgb_backlight/rgb_backlight.c +++ b/applications/services/rgb_backlight/rgb_backlight.c @@ -105,7 +105,6 @@ void rainbow_timer_stop(RGBBacklightApp* app) { // if rgb_mod_installed then apply rainbow colors to backlight and start/restart/stop rainbow_timer void rainbow_timer_starter(RGBBacklightApp* app) { - if((app->settings->rainbow_mode > 0) && (app->settings->rgb_mod_installed)) { rainbow_timer_start(app); } else {