1
0
mirror of synced 2024-11-14 19:57:36 +01:00

错误修复,感谢 90s 协助测试。

This commit is contained in:
Sucareto 2022-03-01 20:30:27 +08:00
parent 79fbdf3ed7
commit 7c16b9d858

4
cmd.h
View File

@ -141,7 +141,7 @@ static void sg_nfc_cmd_reset() { //重置读卡器
}
static void sg_nfc_cmd_get_fw_version() {
// sg_res_init(23);
sg_res_init(23);
// memcpy(res.version, "TN32MSEC003S F/W Ver1.2", 23);
memcpy(res.version, "*SCRT_Reader F/W Ver1.2", 23);
// sg_res_init(1);
@ -149,7 +149,7 @@ static void sg_nfc_cmd_get_fw_version() {
}
static void sg_nfc_cmd_get_hw_version() {
// sg_res_init(23);
sg_res_init(23);
// memcpy(res.version, "TN32MSEC003S H/W Ver3.0", 23);
memcpy(res.version, "*SCRT_Reader H/W Ver3.0", 23);
// sg_res_init(9);