From c6d49a5d117689f9d2b252a11c2d55022a0ed180 Mon Sep 17 00:00:00 2001 From: Willy-JL <49810075+Willy-JL@users.noreply.github.com> Date: Sat, 30 Sep 2023 19:47:43 +0100 Subject: [PATCH] Fix backlight code for backlight on cli app open --nobuild --- applications/services/loader/loader_cli.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/applications/services/loader/loader_cli.c b/applications/services/loader/loader_cli.c index dd6d18478..1b0541f75 100644 --- a/applications/services/loader/loader_cli.c +++ b/applications/services/loader/loader_cli.c @@ -55,7 +55,8 @@ static void loader_cli_open(FuriString* args, Loader* loader) { const char* app_name_str = furi_string_get_cstr(app_name); NotificationApp* notifications = furi_record_open(RECORD_NOTIFICATION); - notification_message_block(notifications, &sequence_display_backlight_on); + notification_message(notifications, &sequence_display_backlight_on); + furi_record_close(RECORD_NOTIFICATION); FuriString* error_message = furi_string_alloc(); if(loader_start(loader, app_name_str, args_str, error_message) != LoaderStatusOk) {