summaryrefslogtreecommitdiff
path: root/decoders/nunchuk.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/nunchuk.py')
-rw-r--r--decoders/nunchuk.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/nunchuk.py b/decoders/nunchuk.py
index 3091577..111768b 100644
--- a/decoders/nunchuk.py
+++ b/decoders/nunchuk.py
@@ -87,8 +87,8 @@ class Decoder(sigrokdecode.Decoder):
self.databytecount = 0
def start(self, metadata):
- # self.out_proto = self.add(2)
- self.out_ann = self.add(1)
+ # self.out_proto = self.add(sigrokdecode.SRD_OUTPUT_PROTOCOL, 'nunchuk')
+ self.out_ann = self.add(sigrokdecode.SRD_OUTPUT_ANNOTATION, 'nunchuk')
def report(self):
pass