فهرست منبع

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

# Conflicts:
#	bpmtapper/bpm.c
Willy-JL 1 سال پیش
والد
کامیت
122854ecfd
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  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);