Revision f602b25b
Revert "Removed superfluous printf in rfid read script"
This reverts commit e66d0e5c23eaaf3db53409d05beb0e1fcdbe1610.
util/read | ||
---|---|---|
8 | 8 |
sleep 0.1 |
9 | 9 |
|
10 | 10 |
response=`head -c 5 /dev/ttyUSB0` |
11 |
ok="\001"
|
|
11 |
ok=`printf "\001"`
|
|
12 | 12 |
|
13 | 13 |
if [ ${response:0:1} = $ok ]; then |
14 | 14 |
echo -n ${response:1} | xxd |
Also available in: Unified diff