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

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

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

+ 2 - 1
nrf24batch/nrf24batch.c

@@ -1092,8 +1092,9 @@ static void save_batch(void) {
 }
 
 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);
 }