unify test - step 2

This commit is contained in:
iceman1001 committed 2025-03-25 10:17:42 +01:00
1 parent 875b3c44b4
commit ad292e8810
70 files changed
+272 -195

No files matched your search

+2 -2
View File
@@ -1103,7 +1103,7 @@ static int download_trace(void) {
gs_trace = calloc(PM3_CMD_DATA_SIZE, sizeof(uint8_t));
if (gs_trace == NULL) {
PrintAndLogEx(FAILED, "Cannot allocate memory for trace");
PrintAndLogEx(WARNING, "Failed to allocate memory");
return PM3_EMALLOC;
}
@@ -1126,7 +1126,7 @@ static int download_trace(void) {
free(gs_trace);
gs_trace = calloc(gs_traceLen, sizeof(uint8_t));
if (gs_trace == NULL) {
PrintAndLogEx(FAILED, "Cannot allocate memory for trace");
PrintAndLogEx(WARNING, "Failed to allocate memory");
return PM3_EMALLOC;
}