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

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

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

+ 1 - 1
rc2014_coleco/coleco.c

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