mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
fix coverity
This commit is contained in:
parent
63603cc422
commit
e41e871014
1 changed files with 2 additions and 2 deletions
|
@ -716,7 +716,7 @@ static bool EM_ColParityTest(uint8_t *bs, size_t size, uint8_t rows, uint8_t col
|
||||||
static bool downloadSamplesEM(void) {
|
static bool downloadSamplesEM(void) {
|
||||||
|
|
||||||
// 8 bit preamble + 32 bit word response (max clock (128) * 40bits = 5120 samples)
|
// 8 bit preamble + 32 bit word response (max clock (128) * 40bits = 5120 samples)
|
||||||
uint8_t got[5500];
|
uint8_t got[6000];
|
||||||
if (!GetFromDevice(BIG_BUF, got, sizeof(got), 0, NULL, 0, NULL, 2500, false)) {
|
if (!GetFromDevice(BIG_BUF, got, sizeof(got), 0, NULL, 0, NULL, 2500, false)) {
|
||||||
PrintAndLogEx(WARNING, "(downloadSamplesEM) command execution time out");
|
PrintAndLogEx(WARNING, "(downloadSamplesEM) command execution time out");
|
||||||
return false;
|
return false;
|
||||||
|
@ -1800,7 +1800,7 @@ static int CmdEM4x05Unlock(const char *Cmd) {
|
||||||
PrintAndLogEx(INFO, "initial prot 14&15 [ " _GREEN_("%08X") ", " _GREEN_("%08X") " ]", init_14, init_15);
|
PrintAndLogEx(INFO, "initial prot 14&15 [ " _GREEN_("%08X") ", " _GREEN_("%08X") " ]", init_14, init_15);
|
||||||
|
|
||||||
if (use_pwd) {
|
if (use_pwd) {
|
||||||
PrintAndLogEx(INFO, " target password [ " _GREEN_("%08"PRIX64) " ]", pwd);
|
PrintAndLogEx(INFO, " target password [ " _GREEN_("%08X") " ]", pwd);
|
||||||
}
|
}
|
||||||
if (my_auto) {
|
if (my_auto) {
|
||||||
PrintAndLogEx(INFO, " automatic mode [ " _GREEN_("enabled") " ]");
|
PrintAndLogEx(INFO, " automatic mode [ " _GREEN_("enabled") " ]");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue