Explorar o código

Merge branch 'release' of https://tree.clementinecomputing.com/clementinecomputing/popufare into release

clementinecomputing %!s(int64=5) %!d(string=hai) anos
pai
achega
a0c6d791df
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      busunit-PIU/scripts/rfid_filter
  2. 1 1
      busunit-PIU/scripts/rfid_manager

+ 1 - 1
busunit-PIU/scripts/rfid_filter

@@ -57,7 +57,7 @@ import re
 import sys
 import time
 
-rate_limit_ms = 3000.0
+rate_limit_ms = 1500.0
 
 def convert_tagid(s):
   binstr = ""

+ 1 - 1
busunit-PIU/scripts/rfid_manager

@@ -29,7 +29,7 @@ d=$BASEDIR/bin
 stdbuf -eL -oL $d/proxmark3 /dev/ttyACM0 -l proxmark3-lf-hid-read.lua | \
   stdbuf -eL -oL tee -a /tmp/rfid_raw.log | \
   $d/rfid_filter | \
-  xargs -n1 -I{} bash -c " $d/format_debug_msg.py TOKEN_RFID '{}' | $d/debug_client -s " | \
+  xargs -n1 -I{} bash -c " $d/format_debug_msg.py TOKEN_RFID -i <( echo -e -n '{}\0' ) | $d/debug_client -s " | \
   tee -a /tmp/rfid.log