Преглед на файлове

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

# Conflicts:
#	mfkey/mfkey.c
Willy-JL преди 1 година
родител
ревизия
82a27018bf
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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);