MX 1 год назад
Родитель
Сommit
2c697810d3
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      esp8266_deauth.c

+ 3 - 2
esp8266_deauth.c

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