Browse Source

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

# Conflicts:
#	bpmtapper/bpm.c
Willy-JL 1 năm trước cách đây
mục cha
commit
122854ecfd
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  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);