diff options
-rw-r--r-- | decoders/uart_dump/uart_dump.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/decoders/uart_dump/uart_dump.py b/decoders/uart_dump/uart_dump.py index 8f190bc..1174832 100644 --- a/decoders/uart_dump/uart_dump.py +++ b/decoders/uart_dump/uart_dump.py @@ -93,12 +93,8 @@ class Decoder(srd.Decoder): # Output RX and/or TX to 'filename'. if self.f != None: - if self.options['rx'] == 'yes' and rxtx == RX: - self.f.write(c) - self.f.flush() - if self.options['tx'] == 'yes' and rxtx == TX: - self.f.write(c) - self.f.flush() + self.f.write(c) + self.f.flush() # Output RX data to 'filename_rx'. if self.f_rx != None: |