mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
more [-Wmissing-field-initializers]
This commit is contained in:
parent
0ab6de64d4
commit
919cfb5841
11 changed files with 23 additions and 23 deletions
|
@ -145,7 +145,7 @@ int CmdLFPCF7931Write(const char *Cmd) {
|
|||
PrintAndLogEx(NORMAL, " pos: %d", bytepos);
|
||||
PrintAndLogEx(NORMAL, " data: 0x%02X", data);
|
||||
|
||||
UsbCommand c = {CMD_PCF7931_WRITE, { block, bytepos, data} };
|
||||
UsbCommand c = {CMD_PCF7931_WRITE, { block, bytepos, data}, {{0}}};
|
||||
memcpy(c.d.asDwords, configPcf.Pwd, sizeof(configPcf.Pwd));
|
||||
c.d.asDwords[7] = (configPcf.OffsetWidth + 128);
|
||||
c.d.asDwords[8] = (configPcf.OffsetPosition + 128);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue