mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-12 18:25:07 +08:00
make style
This commit is contained in:
parent
0ab23426d6
commit
47b60d84de
4 changed files with 18 additions and 18 deletions
|
@ -1501,21 +1501,21 @@ int doIClassSimulation(int simulationMode, uint8_t *reader_mac_buf) {
|
|||
goto send;
|
||||
default : {
|
||||
if (simulationMode == MODE_FULLSIM) { // 0x0C
|
||||
//Read block
|
||||
//Take the data...
|
||||
memcpy(data_generic_trace, emulator + (receivedCmd[1] << 3), 8);
|
||||
AddCrc(data_generic_trace, 8);
|
||||
trace_data = data_generic_trace;
|
||||
trace_data_size = 10;
|
||||
CodeIClassTagAnswer(trace_data, trace_data_size);
|
||||
memcpy(modulated_response, ToSend, ToSendMax);
|
||||
modulated_response_size = ToSendMax;
|
||||
goto send;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}//swith
|
||||
}// if 4
|
||||
//Read block
|
||||
//Take the data...
|
||||
memcpy(data_generic_trace, emulator + (receivedCmd[1] << 3), 8);
|
||||
AddCrc(data_generic_trace, 8);
|
||||
trace_data = data_generic_trace;
|
||||
trace_data_size = 10;
|
||||
CodeIClassTagAnswer(trace_data, trace_data_size);
|
||||
memcpy(modulated_response, ToSend, ToSendMax);
|
||||
modulated_response_size = ToSendMax;
|
||||
goto send;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}//swith
|
||||
}// if 4
|
||||
} else if (receivedCmd[0] == ICLASS_CMD_SELECT) { // 0x81
|
||||
// Reader selects anticollission CSN.
|
||||
// Tag sends the corresponding real CSN
|
||||
|
|
|
@ -123,7 +123,7 @@ int CmdHFSearch(const char *Cmd) {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
//if (IfPm3Felica()) {
|
||||
// ans = CmdHFFelicaReader("s");
|
||||
// if (ans) {
|
||||
|
|
|
@ -2614,7 +2614,7 @@ static int CmdT55xxSetDeviceConfig(const char *Cmd) {
|
|||
//Validations
|
||||
if (errors || cmdp == 0) return usage_lf_deviceconfig();
|
||||
|
||||
t55xx_configurations_t configurations = {{{0},{0},{0},{0}}};
|
||||
t55xx_configurations_t configurations = {{{0}, {0}, {0}, {0}}};
|
||||
|
||||
if (set_defaults) {
|
||||
// fixed bit length
|
||||
|
|
|
@ -108,7 +108,7 @@ local function main(args)
|
|||
if infile == nil then
|
||||
return oops('Could not read file ', input)
|
||||
end
|
||||
|
||||
|
||||
local dumpdata = readdump(infile)
|
||||
-- The hex-data is now in ascii-format,
|
||||
if dumpdata == NIL then return oops('Dumpfle not loaded') end
|
||||
|
|
Loading…
Reference in a new issue