Skip to content

Commit

Permalink
fix HID with tinyusb
Browse files Browse the repository at this point in the history
  • Loading branch information
z4yx committed Jun 9, 2024
1 parent 89f069f commit 195cc77
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions utils/set-nfc-en.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash
if [ -z "$1" ]; then
exit 1
fi
echo "Reader name: $1"
TS=$(printf %08x $(date +%s))
(cat <<-EOF
00A4040005F000000000
0020000006313233343536
00140${2}00
EOF
) | scriptor -r "$1"

0 comments on commit 195cc77

Please sign in to comment.