FIX: Fixed some warnings I didn't take notice off.
- memcpy should have been "memset" - forgot to add function declaration into header file.
This commit is contained in:
1 parent
758f5ee3e5
commit
ba4ad25b37
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -547,7 +547,7 @@ int CmdLegicRfFill(const char *Cmd) {
|
||||
|
||||
int i;
|
||||
UsbCommand c = {CMD_DOWNLOADED_SIM_SAMPLES_125K, {0, 0, 0}};
|
||||
memcpy(c.d.asBytes, cmd.arg[2], 48);
|
||||
memset(c.d.asBytes, cmd.arg[2], 48);
|
||||
|
||||
for(i = 0; i < 22; i++) {
|
||||
c.arg[0] = i*48;
|
||||
|
||||
Reference in new issue
Block a user