Skip to content

Commit

Permalink
deleted unused backlight setting
Browse files Browse the repository at this point in the history
  • Loading branch information
zinongli committed Aug 4, 2024
1 parent 2f2ec4b commit 458b1f4
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions t5577_writer.c
Original file line number Diff line number Diff line change
Expand Up @@ -780,10 +780,6 @@ static T5577WriterApp* t5577_writer_app_alloc() {

app->notifications = furi_record_open(RECORD_NOTIFICATION);

#ifdef BACKLIGHT_ON
notification_message(app->notifications, &sequence_display_backlight_enforce_on);
#endif

return app;
}

Expand All @@ -793,9 +789,6 @@ static T5577WriterApp* t5577_writer_app_alloc() {
* @param app The t5577_writer application object.
*/
static void t5577_writer_app_free(T5577WriterApp* app) {
#ifdef BACKLIGHT_ON
notification_message(app->notifications, &sequence_display_backlight_enforce_auto);
#endif
furi_record_close(RECORD_NOTIFICATION);

view_dispatcher_remove_view(app->view_dispatcher, T5577WriterViewTextInput);
Expand Down

0 comments on commit 458b1f4

Please sign in to comment.