]> sigrok.org Git - libsigrokdecode.git/commitdiff
rfm12: Frequencies: Fix typo (915MHz), add 315MHz entry.
authorUwe Hermann <redacted>
Mon, 8 Sep 2014 09:55:07 +0000 (11:55 +0200)
committerUwe Hermann <redacted>
Mon, 8 Sep 2014 09:55:07 +0000 (11:55 +0200)
decoders/rfm12/pd.py

index bacd8b15f38d3388d77408851a95219660b170bc..55afd5dab9c06e2685cd2438a73581aebaff3427 100644 (file)
@@ -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: