Explorar el Código

Merge bpmtapper from https://github.com/xMasterX/all-the-plugins

# Conflicts:
#	bpmtapper/bpm.c
Willy-JL hace 1 año
padre
commit
0c32924e91
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  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* context) {
-    furi_assert(context);
-    FuriMessageQueue* event_queue = context;
+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);