structs: initializes explicitely all fields, so we can detect when we really forgot one [-Wmissing-field-initializers]
This commit is contained in:
1 parent
af3397bd19
commit
0ab6de64d4
43 files changed
+211
-211
No files matched your search
+1
-1
@@ -42,7 +42,7 @@ int CmdHFMFPInfo(const char *cmd) {
|
||||
CmdHF14AInfo("");
|
||||
|
||||
// Mifare Plus info
|
||||
UsbCommand c = {CMD_READER_ISO_14443a, {ISO14A_CONNECT | ISO14A_NO_DISCONNECT, 0, 0}};
|
||||
UsbCommand c = {CMD_READER_ISO_14443a, {ISO14A_CONNECT | ISO14A_NO_DISCONNECT, 0, 0}, {{0}}};
|
||||
SendCommand(&c);
|
||||
|
||||
UsbCommand resp;
|
||||
|
||||
Reference in new issue
Block a user