Przeglądaj źródła

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

# Conflicts:
#	wifi_scanner/wifi_scanner.c
Willy-JL 1 rok temu
rodzic
commit
41992e4dc8
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      wifi_scanner/wifi_scanner.c

+ 1 - 1
wifi_scanner/wifi_scanner.c

@@ -637,8 +637,8 @@ static void wifi_module_render_callback(Canvas* const canvas, void* ctx) {
 }
 
 static void wifi_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);