]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/swim/pd.py
adxl345: Use SrdIntEnum for annotation classes.
[libsigrokdecode.git] / decoders / swim / pd.py
index 452805a0377988fff28cf8a668f1f27b062ce0e9..b48bb123e0395dab7e0bccc0648d8699c8714b39 100644 (file)
@@ -14,8 +14,7 @@
 ## GNU General Public License for more details.
 ##
 ## You should have received a copy of the GNU General Public License
-## along with this program; if not, write to the Free Software
-## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+## along with this program; if not, see <http://www.gnu.org/licenses/>.
 ##
 
 import math
@@ -33,6 +32,7 @@ class Decoder(srd.Decoder):
     license = 'gplv2+'
     inputs = ['logic']
     outputs = []
+    tags = ['Debug/trace']
     options = (
         {'id': 'debug', 'desc': 'Debug', 'default': 'no', 'values': ('yes', 'no') },
     )
@@ -55,7 +55,7 @@ class Decoder(srd.Decoder):
         ('address', 'Address'),
         ('data-write', 'Data write'),
         ('data-read', 'Data read'),
-        ('debug', 'Debug'),
+        ('debug-msg', 'Debug message'),
     )
     annotation_rows = (
         ('bits', 'Bits', (0,)),