We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a5fca8 commit 1471f69Copy full SHA for 1471f69
1 file changed
candle/candle_bus.py
@@ -43,7 +43,7 @@ def __init__(self, channel: Union[int, str], can_filters: Optional[can.typecheck
43
44
# Set bit timing.
45
props_seg = 1
46
- if self._channel.feature.fd:
+ if fd and self._channel.feature.fd:
47
bit_timing_fd = can.BitTimingFd.from_sample_point(
48
f_clock=self._channel.clock_frequency,
49
nom_bitrate=bitrate,
0 commit comments