summaryrefslogtreecommitdiff
path: root/decoders/xfp/pd.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/xfp/pd.py')
-rw-r--r--decoders/xfp/pd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/xfp/pd.py b/decoders/xfp/pd.py
index 9a6543c..41aca0d 100644
--- a/decoders/xfp/pd.py
+++ b/decoders/xfp/pd.py
@@ -318,7 +318,7 @@ class Decoder(srd.Decoder):
self.annotate("Vendor ID", chr(data[i]), cnt, cnt)
# Convert 16-bit two's complement values, with each increment
- # representing 1/256C, to degrees Celcius.
+ # representing 1/256C, to degrees Celsius.
def to_temp(self, value):
if value & 0x8000:
value = -((value ^ 0xffff) + 1)