summaryrefslogtreecommitdiff
path: root/decoders/uart_dump
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/uart_dump')
-rw-r--r--decoders/uart_dump/uart_dump.py8
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: