Explorar o código

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

# Conflicts:
#	mfkey/mfkey.c
Willy-JL hai 1 ano
pai
achega
82a27018bf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      mfkey/mfkey.c

+ 1 - 1
mfkey/mfkey.c

@@ -757,8 +757,8 @@ static void render_callback(Canvas* const canvas, void* ctx) {
 }
 
 static void input_callback(InputEvent* input_event, void* ctx) {
+    furi_assert(ctx);
     FuriMessageQueue* event_queue = ctx;
-    furi_assert(event_queue);
 
     PluginEvent event = {.type = EventTypeKey, .input = *input_event};
     furi_message_queue_put(event_queue, &event, FuriWaitForever);