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

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

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

+ 1 - 1
nrf24sniff/nrfsniff.c

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