Преглед изворни кода

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

# Conflicts:
#	esp8266_deauth/esp8266_deauth.c
Willy-JL пре 1 година
родитељ
комит
63fc519df7
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      esp8266_deauth/esp8266_deauth.c

+ 1 - 1
esp8266_deauth/esp8266_deauth.c

@@ -207,8 +207,8 @@ static void esp8266_deauth_module_render_callback(Canvas* const canvas, void* ct
 }
 
 static void esp8266_deauth_module_input_callback(InputEvent* input_event, void* ctx) {
+    furi_assert(ctx);
     FuriMessageQueue* event_queue = ctx;
-    furi_assert(event_queue);
 
     SPluginEvent event = {.m_type = EventTypeKey, .m_input = *input_event};
     furi_message_queue_put(event_queue, &event, FuriWaitForever);