summaryrefslogtreecommitdiff
path: root/decoders/xfp
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2015-04-04 18:34:42 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2015-04-07 02:52:51 +0200
commit868fd207a7506ae2ab48d6a8755350e452d60521 (patch)
tree6c4c4c1e1cf12c2e2b5627f0af83bf330a09e58b /decoders/xfp
parentc357abd198bd195cb9ea015130dc76c8c7a33651 (diff)
downloadlibsigrokdecode-868fd207a7506ae2ab48d6a8755350e452d60521.tar.gz
libsigrokdecode-868fd207a7506ae2ab48d6a8755350e452d60521.zip
Fix a bunch of typos.
Diffstat (limited to 'decoders/xfp')
-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)