Browse Source

Merge bpmtapper from https://github.com/ezod/flipperzero-bpm-tapper

# Conflicts:
#	bpmtapper/bpm.c
Willy-JL 1 year ago
parent
commit
122854ecfd
1 changed files with 3 additions and 3 deletions
  1. 3 3
      bpmtapper/bpm.c

+ 3 - 3
bpmtapper/bpm.c

@@ -122,9 +122,9 @@ static void show_hello() {
     // END HELLO DIALOG
 }
 
-static void input_callback(InputEvent* input_event, void* ctx) {
-    FuriMessageQueue* event_queue = ctx;
-    furi_assert(event_queue);
+static void input_callback(InputEvent* input_event, void* context) {
+    furi_assert(context);
+    FuriMessageQueue* event_queue = context;
 
     PluginEvent event = {.type = EventTypeKey, .input = *input_event};
     furi_message_queue_put(event_queue, &event, FuriWaitForever);