mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-07-31 12:00:31 -07:00
cppcheck fix, assign a value
This commit is contained in:
parent
977b198816
commit
ed11e4a093
2 changed files with 4 additions and 4 deletions
|
@ -183,8 +183,8 @@ void RunMod(void) {
|
||||||
uint8_t receivedCmd[MAX_FRAME_SIZE] = { 0x00 };
|
uint8_t receivedCmd[MAX_FRAME_SIZE] = { 0x00 };
|
||||||
uint8_t receivedCmdPar[MAX_PARITY_SIZE] = { 0x00 };
|
uint8_t receivedCmdPar[MAX_PARITY_SIZE] = { 0x00 };
|
||||||
|
|
||||||
uint8_t dynamic_response_buffer[DYNAMIC_RESPONSE_BUFFER_SIZE];
|
uint8_t dynamic_response_buffer[DYNAMIC_RESPONSE_BUFFER_SIZE] = {0};
|
||||||
uint8_t dynamic_modulation_buffer[DYNAMIC_MODULATION_BUFFER_SIZE];
|
uint8_t dynamic_modulation_buffer[DYNAMIC_MODULATION_BUFFER_SIZE] = {0};
|
||||||
|
|
||||||
// to know the transaction status
|
// to know the transaction status
|
||||||
uint8_t prevCmd = 0;
|
uint8_t prevCmd = 0;
|
||||||
|
|
|
@ -1150,8 +1150,8 @@ void SimulateIso14443aTag(uint8_t tagType, uint8_t flags, uint8_t *data) {
|
||||||
// Such a response is less time critical, so we can prepare them on the fly
|
// Such a response is less time critical, so we can prepare them on the fly
|
||||||
#define DYNAMIC_RESPONSE_BUFFER_SIZE 64
|
#define DYNAMIC_RESPONSE_BUFFER_SIZE 64
|
||||||
#define DYNAMIC_MODULATION_BUFFER_SIZE 512
|
#define DYNAMIC_MODULATION_BUFFER_SIZE 512
|
||||||
uint8_t dynamic_response_buffer[DYNAMIC_RESPONSE_BUFFER_SIZE];
|
uint8_t dynamic_response_buffer[DYNAMIC_RESPONSE_BUFFER_SIZE] = {0};
|
||||||
uint8_t dynamic_modulation_buffer[DYNAMIC_MODULATION_BUFFER_SIZE];
|
uint8_t dynamic_modulation_buffer[DYNAMIC_MODULATION_BUFFER_SIZE] = {0};
|
||||||
tag_response_info_t dynamic_response_info = {
|
tag_response_info_t dynamic_response_info = {
|
||||||
.response = dynamic_response_buffer,
|
.response = dynamic_response_buffer,
|
||||||
.response_n = 0,
|
.response_n = 0,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue