mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-10-23 02:13:05 +00:00
add dummy length to pass savejson sanity check. Thanks @mwalker33
This commit is contained in:
1 parent
aa8d56cb14
commit
9bd7e41d39
1 file changed
+1
-1
@@ -152,7 +152,7 @@ int preferences_save(void) {
|
||||
}
|
||||
|
||||
uint8_t dummyData = 0x00;
|
||||
size_t dummyDL = 0x00;
|
||||
size_t dummyDL = 0x01;
|
||||
|
||||
if (saveFileJSON(fn, jsfCustom, &dummyData, dummyDL, &preferences_save_callback) != PM3_SUCCESS)
|
||||
PrintAndLogEx(ERR, "Error saving preferences to \"%s\"", fn);
|
||||
|
||||
Reference in new issue
Block a user