소스 검색

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

clementinecomputing 5 년 전
부모
커밋
a0c6d791df
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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