Fix mandarin chinese comments

Fix some nice but mandarin chinese comments and replaced  it with its google translation.
Should be buildable for now (cause some unexplicable build errors in first try).
This commit is contained in:
The-White-Fox
2020-11-10 14:50:50 +01:00
parent 7f310af7ad
commit 1c6e23b129
2 changed files with 5 additions and 5 deletions
@@ -5,8 +5,8 @@
* Author: skuser
*
* ChangeLog
* 2019-09-22 willok 加入了UID模式开关,加入了SAK模式开关
* 2019-10-05 Willok 将侦测卡功能整合进来,以减少程序大小
* 2019-09-22 willok Added UID mode switch and SAK mode switch
* 2019-10-05 Willok Integrate detection card function to reduce program size
*
*/
@@ -82,7 +82,7 @@
#define CMD_TRANSFER 0xB0
#define CMD_TRANSFER_FRAME_SIZE 2 /* Bytes without CRCA */
// 白卡相关的指令
// White card related instructions
#define CMD_CHINESE_UNLOCK 0x40
#define CMD_CHINESE_WIPE 0x41
#define CMD_CHINESE_UNLOCK_RW 0x43
@@ -454,7 +454,7 @@ void DetectionInit(void) {
// Download log
bool RfLogMemLoadBlock(void *Buffer, uint32_t BlockAddress, uint16_t ByteCount) {
// 位置超出尾部了,结束
// The position is beyond the end
if (BlockAddress < (DetectionLogPtr - FRAM_DETECTION_START_ADDR)) {
MemoryReadBlock(Buffer, BlockAddress + FRAM_DETECTION_START_ADDR, ByteCount);
if (0 == BlockAddress)
+1 -1
View File
@@ -11,7 +11,7 @@
uint16_t Reader_FWT = ISO14443A_RX_PENDING_TIMEOUT;
// 这个是从开启到准备好的时间间隔,之前不能发送数据
// This is the time interval from start to ready, data cannot be sent before
#define READER_FIELD_MINIMUM_WAITING_TIME 70 // ms
static uint16_t ReaderFieldStartTimestamp = 0;