mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
add dummy length to pass savejson sanity check. Thanks @mwalker33
This commit is contained in:
parent
aa8d56cb14
commit
9bd7e41d39
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ int preferences_save(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t dummyData = 0x00;
|
uint8_t dummyData = 0x00;
|
||||||
size_t dummyDL = 0x00;
|
size_t dummyDL = 0x01;
|
||||||
|
|
||||||
if (saveFileJSON(fn, jsfCustom, &dummyData, dummyDL, &preferences_save_callback) != PM3_SUCCESS)
|
if (saveFileJSON(fn, jsfCustom, &dummyData, dummyDL, &preferences_save_callback) != PM3_SUCCESS)
|
||||||
PrintAndLogEx(ERR, "Error saving preferences to \"%s\"", fn);
|
PrintAndLogEx(ERR, "Error saving preferences to \"%s\"", fn);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue