unify test - step 2
This commit is contained in:
1 parent
875b3c44b4
commit
ad292e8810
70 files changed
+272
-195
No files matched your search
@@ -132,7 +132,7 @@ void printarr(const char *name, uint8_t *arr, int len) {
|
||||
size_t outsize = 40 + strlen(name) + len * 5;
|
||||
char *output = calloc(outsize, sizeof(char));
|
||||
if (output == NULL) {
|
||||
PrintAndLogEx(ERR, "Memory allocation failed");
|
||||
PrintAndLogEx(WARNING, "Failed to allocate memory");
|
||||
return;
|
||||
}
|
||||
cx = snprintf(output, outsize, "uint8_t %s[] = {", name);
|
||||
|
||||
Reference in new issue
Block a user