summaryrefslogtreecommitdiff
path: root/decoders/can
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/can')
-rw-r--r--decoders/can/pd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/can/pd.py b/decoders/can/pd.py
index 3f27c30..51b7a72 100644
--- a/decoders/can/pd.py
+++ b/decoders/can/pd.py
@@ -34,7 +34,7 @@ class Decoder(srd.Decoder):
)
options = (
{'id': 'bitrate', 'desc': 'Bitrate', 'default': 1000000}, # 1Mbit/s
- {'id': 'sample_point', 'desc': 'Sample point', 'default': 70}, # 70%
+ {'id': 'sample_point', 'desc': 'Sample point', 'default': 70.0}, # 70%
)
annotations = (
('data', 'CAN payload data'),