mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-20 04:54:45 -07:00
fmt and return settings to original value [ci skip]
This commit is contained in:
@@ -34,7 +34,7 @@ typedef struct {
|
|||||||
Light light;
|
Light light;
|
||||||
} NotificationLedLayer;
|
} NotificationLedLayer;
|
||||||
|
|
||||||
#define NOTIFICATION_SETTINGS_VERSION 0x03
|
#define NOTIFICATION_SETTINGS_VERSION 0x02
|
||||||
#define NOTIFICATION_SETTINGS_PATH INT_PATH(NOTIFICATION_SETTINGS_FILE_NAME)
|
#define NOTIFICATION_SETTINGS_PATH INT_PATH(NOTIFICATION_SETTINGS_FILE_NAME)
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|||||||
@@ -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
|
// if rgb_mod_installed then apply rainbow colors to backlight and start/restart/stop rainbow_timer
|
||||||
void rainbow_timer_starter(RGBBacklightApp* app) {
|
void rainbow_timer_starter(RGBBacklightApp* app) {
|
||||||
|
|
||||||
if((app->settings->rainbow_mode > 0) && (app->settings->rgb_mod_installed)) {
|
if((app->settings->rainbow_mode > 0) && (app->settings->rgb_mod_installed)) {
|
||||||
rainbow_timer_start(app);
|
rainbow_timer_start(app);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user