Pārlūkot izejas kodu

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

# Conflicts:
#	nrf24scan/nrf24scan.c
Willy-JL 1 gadu atpakaļ
vecāks
revīzija
932728cd43
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      nrf24scan/nrf24scan.c

+ 2 - 1
nrf24scan/nrf24scan.c

@@ -457,8 +457,9 @@ static uint8_t load_settings_file(Stream* file_stream) {
 }
 
 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);
 }