mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-13 05:48:35 -07:00
Skip backlight for RPC inputs --nobuild
This commit is contained in:
@@ -453,8 +453,11 @@ static bool notification_load_settings(NotificationApp* app) {
|
|||||||
static void input_event_callback(const void* value, void* context) {
|
static void input_event_callback(const void* value, void* context) {
|
||||||
furi_assert(value);
|
furi_assert(value);
|
||||||
furi_assert(context);
|
furi_assert(context);
|
||||||
|
const InputEvent* event = value;
|
||||||
NotificationApp* app = context;
|
NotificationApp* app = context;
|
||||||
notification_message(app, &sequence_display_backlight_on);
|
if(event->sequence_source == INPUT_SEQUENCE_SOURCE_HARDWARE) {
|
||||||
|
notification_message(app, &sequence_display_backlight_on);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// App alloc
|
// App alloc
|
||||||
|
|||||||
Reference in New Issue
Block a user