summaryrefslogtreecommitdiff
path: root/decoders/usb/usb.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-02-01 18:59:18 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2012-02-01 23:18:23 +0100
commitb9e44d1e0964f5c6c99ec52b68a5a6e0bc1ac633 (patch)
treebb63c710d672507bd791b46976ca00216ea51ee6 /decoders/usb/usb.py
parentb77614bc977475102062ac5d1c8fe8e55349315a (diff)
downloadlibsigrokdecode-b9e44d1e0964f5c6c99ec52b68a5a6e0bc1ac633.tar.gz
libsigrokdecode-b9e44d1e0964f5c6c99ec52b68a5a6e0bc1ac633.zip
srd: uart: Use strings for packet types.
While this has a (small) performance penalty compared to using integers, it has the advantage of not requiring the use of magic numbers which need to be declared in both the UART decoder and all decoders which stack on top of UART.
Diffstat (limited to 'decoders/usb/usb.py')
0 files changed, 0 insertions, 0 deletions