diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2015-12-23 20:01:48 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2015-12-24 02:28:55 +0100 |
commit | 2f37032807e19bc93b7f3223e1568db46318790c (patch) | |
tree | 937b0b0d24112203fd14f2f6124567f5f81cf25f /decoders/usb_request | |
parent | 2824e81140d3a8e37464f758cf67f50f2f7afca7 (diff) | |
download | libsigrokdecode-2f37032807e19bc93b7f3223e1568db46318790c.tar.gz libsigrokdecode-2f37032807e19bc93b7f3223e1568db46318790c.zip |
Use self.out_binary naming consistently across all PDs.
Diffstat (limited to 'decoders/usb_request')
-rw-r--r-- | decoders/usb_request/pd.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/decoders/usb_request/pd.py b/decoders/usb_request/pd.py index fa2e674..79539c6 100644 --- a/decoders/usb_request/pd.py +++ b/decoders/usb_request/pd.py @@ -152,7 +152,7 @@ class Decoder(srd.Decoder): self.put(ss, es, self.out_ann, data) def putb(self, ts, data): - self.put(ts, ts, self.out_bin, data) + self.put(ts, ts, self.out_binary, data) def pcap_global_header(self): # See https://wiki.wireshark.org/Development/LibpcapFileFormat. @@ -173,7 +173,7 @@ class Decoder(srd.Decoder): self.secs_per_sample = float(1) / float(self.samplerate) def start(self): - self.out_bin = self.register(srd.OUTPUT_BINARY) + self.out_binary = self.register(srd.OUTPUT_BINARY) self.out_ann = self.register(srd.OUTPUT_ANN) def handle_transfer(self): @@ -242,7 +242,7 @@ class Decoder(srd.Decoder): def write_pcap_header(self): if not self.wrote_pcap_header: - self.put(0, 0, self.out_bin, [0, self.pcap_global_header()]) + self.put(0, 0, self.out_binary, [0, self.pcap_global_header()]) self.wrote_pcap_header = True def request_summary(self, request): |