소스 검색

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);