From: Uwe Hermann Date: Mon, 8 Sep 2014 09:55:07 +0000 (+0200) Subject: rfm12: Frequencies: Fix typo (915MHz), add 315MHz entry. X-Git-Tag: libsigrokdecode-0.4.0~174 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=c9021bc926a42284baf99c174eba4a52b412847e;p=libsigrokdecode.git rfm12: Frequencies: Fix typo (915MHz), add 315MHz entry. --- diff --git a/decoders/rfm12/pd.py b/decoders/rfm12/pd.py index bacd8b1..55afd5d 100644 --- a/decoders/rfm12/pd.py +++ b/decoders/rfm12/pd.py @@ -120,7 +120,7 @@ class Decoder(srd.Decoder): self.describe_bits(bits, NAMES) self.describe_changed_bits(bits, old_bits, NAMES) - FREQUENCIES = ['Reserved', '433', '868', '912'] + FREQUENCIES = ['315', '433', '868', '915'] f = FREQUENCIES[(cmd[1] & 0x30) >> 4] + 'MHz' self.putx(1, 2, ['Frequency: ' + f, f]) if cmd[1] & 0x30 != self.last_config & 0x30: