cppchecker
This commit is contained in:
@@ -129,7 +129,7 @@ RAMFUNC bool MillerDecoding(uint8_t bit, uint32_t non_real_time);
|
|||||||
RAMFUNC int ManchesterDecoding(uint8_t bit, uint16_t offset, uint32_t non_real_time);
|
RAMFUNC int ManchesterDecoding(uint8_t bit, uint16_t offset, uint32_t non_real_time);
|
||||||
|
|
||||||
void RAMFUNC SniffIso14443a(uint8_t param);
|
void RAMFUNC SniffIso14443a(uint8_t param);
|
||||||
void SimulateIso14443aTag(uint8_t tagType, uint8_t flags, uint8_t *data, uint8_t numReads);
|
void SimulateIso14443aTag(uint8_t tagType, uint8_t flags, uint8_t *data, uint8_t exitAfterNReads);
|
||||||
bool SimulateIso14443aInit(int tagType, int flags, uint8_t *data, tag_response_info_t **responses, uint32_t *cuid, uint32_t counters[3], uint8_t tearings[3], uint8_t *pages);
|
bool SimulateIso14443aInit(int tagType, int flags, uint8_t *data, tag_response_info_t **responses, uint32_t *cuid, uint32_t counters[3], uint8_t tearings[3], uint8_t *pages);
|
||||||
bool GetIso14443aCommandFromReader(uint8_t *received, uint8_t *par, int *len);
|
bool GetIso14443aCommandFromReader(uint8_t *received, uint8_t *par, int *len);
|
||||||
void iso14443a_antifuzz(uint32_t flags);
|
void iso14443a_antifuzz(uint32_t flags);
|
||||||
|
|||||||
@@ -1602,7 +1602,7 @@ void ReaderIso15693(uint32_t parameter) {
|
|||||||
reply_mix(CMD_ACK, recvlen, 0, 0, NULL, 0);
|
reply_mix(CMD_ACK, recvlen, 0, 0, NULL, 0);
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
start_time = eof_time + DELAY_ISO15693_VICC_TO_VCD_READER;
|
//start_time = eof_time + DELAY_ISO15693_VICC_TO_VCD_READER;
|
||||||
|
|
||||||
// we should do a better check than this
|
// we should do a better check than this
|
||||||
if (recvlen >= 12) {
|
if (recvlen >= 12) {
|
||||||
@@ -1686,7 +1686,7 @@ void SimTagIso15693(uint8_t *uid) {
|
|||||||
enum { NO_FIELD, IDLE, ACTIVATED, SELECTED, HALTED } chip_state = NO_FIELD;
|
enum { NO_FIELD, IDLE, ACTIVATED, SELECTED, HALTED } chip_state = NO_FIELD;
|
||||||
|
|
||||||
bool button_pressed = false;
|
bool button_pressed = false;
|
||||||
int vHf = 0; // in mV
|
int vHf; // in mV
|
||||||
|
|
||||||
bool exit_loop = false;
|
bool exit_loop = false;
|
||||||
while (exit_loop == false) {
|
while (exit_loop == false) {
|
||||||
@@ -1719,7 +1719,6 @@ void SimTagIso15693(uint8_t *uid) {
|
|||||||
int cmd_len = GetIso15693CommandFromReader(cmd, sizeof(cmd), &reader_eof_time);
|
int cmd_len = GetIso15693CommandFromReader(cmd, sizeof(cmd), &reader_eof_time);
|
||||||
if (cmd_len < 0) {
|
if (cmd_len < 0) {
|
||||||
button_pressed = true;
|
button_pressed = true;
|
||||||
exit_loop = true;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user