MX пре 1 година
родитељ
комит
c55958755f
1 измењених фајлова са 3 додато и 2 уклоњено
  1. 3 2
      bpm.c

+ 3 - 2
bpm.c

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