Skip to content

Commit 1088e34

Browse files
committed
fix typo [ci skip]
1 parent 4ab0c3c commit 1088e34

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

applications/services/notification/notification_app.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ static uint32_t notification_settings_display_off_delay_ticks(NotificationApp* a
3636
// status of lcd backlight
3737
// used to ignore backlight_on event if backlight active now
3838
// prevent from extra ticking when key pressed with rgb_mod_installed
39-
static bool lcd_backligth_is_on = false;
39+
static bool lcd_backlight_is_on = false;
4040

4141
// --- RGB BACKLIGHT ---
4242
// local variable for local use
@@ -337,7 +337,7 @@ static void notification_apply_notification_led_layer(
337337

338338
// if layer.light = LightBacklight and backlight active now then just exit.
339339
// prevent from extra ticking when key pressed with rgb_mod_installed
340-
if((layer->light == LightBacklight) & lcd_backligth_is_on) return;
340+
if((layer->light == LightBacklight) & lcd_backlight_is_on) return;
341341

342342
// apply
343343
furi_hal_light_set(layer->light, layer->value[LayerNotification]);
@@ -477,7 +477,7 @@ static void notification_process_notification_message(
477477
app->current_night_shift * 1.0f);
478478

479479
reset_mask |= reset_display_mask;
480-
lcd_backligth_is_on = true;
480+
lcd_backlight_is_on = true;
481481

482482
//start rgb_mod_rainbow_timer when display backlight is ON and all corresponding settings is ON too
483483
rainbow_timer_starter(app);
@@ -486,7 +486,7 @@ static void notification_process_notification_message(
486486
// Backlight OFF
487487
reset_mask &= ~reset_display_mask;
488488
notification_reset_notification_led_layer(&app->display);
489-
lcd_backligth_is_on = false;
489+
lcd_backlight_is_on = false;
490490

491491
if(furi_timer_is_running(app->display_timer)) {
492492
furi_timer_stop(app->display_timer);
@@ -505,7 +505,7 @@ static void notification_process_notification_message(
505505
&app->display,
506506
notification_message->data.led.value * display_brightness_setting *
507507
app->current_night_shift * 1.0f);
508-
lcd_backligth_is_on = true;
508+
lcd_backlight_is_on = true;
509509
}
510510
break;
511511
case NotificationMessageTypeLedDisplayBacklightEnforceAuto:

0 commit comments

Comments
 (0)