]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/pwm/pd.py
All PDs: Consistently use singular/plural for annotation classes/rows.
[libsigrokdecode.git] / decoders / pwm / pd.py
index d8626ee00824d427a53672e76b298e84f9233191..2eda02ca42a1c174b48aa66e19bf74d7f36137b5 100644 (file)
@@ -45,8 +45,8 @@ class Decoder(srd.Decoder):
         ('period', 'Period'),
     )
     annotation_rows = (
-         ('duty-cycle', 'Duty cycle', (0,)),
-         ('period', 'Period', (1,)),
+         ('duty-cycle-vals', 'Duty cycles', (0,)),
+         ('periods', 'Periods', (1,)),
     )
     binary = (
         ('raw', 'RAW file'),