mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
simpler script
This commit is contained in:
parent
dee3f87ceb
commit
eeb221a31b
|
@ -18,8 +18,8 @@ RX_LOG=$(mktemp)
|
|||
# make sure all child processes are killed when we exit
|
||||
trap 'jobs -p | xargs -r kill' EXIT
|
||||
|
||||
python3 test_rx.py --mode datac0 --frames 2 --bursts 1 --audiodev 4 --debug 2>&1 | tee ${RX_LOG} &
|
||||
python3 test_rx.py --mode datac0 --frames 2 --bursts 1 --audiodev 4 --debug &
|
||||
rx_pid=$!
|
||||
sleep 1
|
||||
python3 test_tx.py --mode datac0 --frames 2 --bursts 1 --audiodev 5
|
||||
|
||||
tail -f ${RX_LOG} | sed '/RECEIVED BURSTS/ q'
|
||||
wait ${rx_pid}
|
||||
|
|
Loading…
Reference in a new issue