diff --git a/candle/candle_bus.py b/candle/candle_bus.py index 26d0797..801a0a5 100644 --- a/candle/candle_bus.py +++ b/candle/candle_bus.py @@ -182,9 +182,8 @@ def _recv_internal(self, timeout: Optional[float]) -> Tuple[Optional[can.Message if frame is not None: return convert_frame(i, frame, self._hardware_timestamps[i]), False - # Do not block if timeout is None. if timeout is None: - return None, False + timeout = 2**32 - 1 # Block until a frame is available. if not self._device.wait_for_frame(timeout):