소스 검색

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);