fix downloading lf config

This commit is contained in:
iceman1001 committed 2020-03-05 11:27:42 +01:00
1 parent b6dcfbf078
commit 393d998ad9
2 files changed
+3 -6

No files matched your search

+1 -2
View File
@@ -471,8 +471,7 @@ int lf_getconfig(sample_config *config) {
PrintAndLogEx(WARNING, "command execution time out");
return PM3_ETIMEOUT;
}
config = (sample_config *) resp.data.asBytes;
memcpy(config, resp.data.asBytes, sizeof(sample_config));
return PM3_SUCCESS;
}