Kaynağa Gözat

Last param is just an arg to callback.

Derek Jamison 1 yıl önce
ebeveyn
işleme
4a7abfe08b
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      infrared_controller.c

+ 1 - 1
infrared_controller.c

@@ -109,7 +109,7 @@ static void infrared_rx_callback(void* context, InfraredWorkerSignal* received_s
     }
 
     FURI_LOG_I(TAG, "RX callback completed");
-    furi_timer_pending_callback(infrared_reset, controller, FuriWaitForever);
+    furi_timer_pending_callback(infrared_reset, controller, 0);
 }
 
 InfraredController* infrared_controller_alloc() {