diff options
Diffstat (limited to 'decoders/transitioncounter/transitioncounter.py')
-rw-r--r-- | decoders/transitioncounter/transitioncounter.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/decoders/transitioncounter/transitioncounter.py b/decoders/transitioncounter/transitioncounter.py index 4b458b2..44dda48 100644 --- a/decoders/transitioncounter/transitioncounter.py +++ b/decoders/transitioncounter/transitioncounter.py @@ -96,7 +96,8 @@ class Decoder(srd.Decoder): # TODO: How to only output something after the last chunk of data? outdata = [] for i in range(self.channels): - outdata += [[self.transitions[i], self.rising[i], self.falling[i]]] + outdata.append([self.transitions[i], self.rising[i], + self.falling[i]]) if outdata != []: # self.put(0, 0, self.out_proto, out_proto) |