mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07: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;
|
goto send;
|
||||||
default : {
|
default : {
|
||||||
if (simulationMode == MODE_FULLSIM) { // 0x0C
|
if (simulationMode == MODE_FULLSIM) { // 0x0C
|
||||||
//Read block
|
//Read block
|
||||||
//Take the data...
|
//Take the data...
|
||||||
memcpy(data_generic_trace, emulator + (receivedCmd[1] << 3), 8);
|
memcpy(data_generic_trace, emulator + (receivedCmd[1] << 3), 8);
|
||||||
AddCrc(data_generic_trace, 8);
|
AddCrc(data_generic_trace, 8);
|
||||||
trace_data = data_generic_trace;
|
trace_data = data_generic_trace;
|
||||||
trace_data_size = 10;
|
trace_data_size = 10;
|
||||||
CodeIClassTagAnswer(trace_data, trace_data_size);
|
CodeIClassTagAnswer(trace_data, trace_data_size);
|
||||||
memcpy(modulated_response, ToSend, ToSendMax);
|
memcpy(modulated_response, ToSend, ToSendMax);
|
||||||
modulated_response_size = ToSendMax;
|
modulated_response_size = ToSendMax;
|
||||||
goto send;
|
goto send;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}//swith
|
}//swith
|
||||||
}// if 4
|
}// if 4
|
||||||
} else if (receivedCmd[0] == ICLASS_CMD_SELECT) { // 0x81
|
} else if (receivedCmd[0] == ICLASS_CMD_SELECT) { // 0x81
|
||||||
// Reader selects anticollission CSN.
|
// Reader selects anticollission CSN.
|
||||||
// Tag sends the corresponding real CSN
|
// Tag sends the corresponding real CSN
|
||||||
|
|
|
@ -123,7 +123,7 @@ int CmdHFSearch(const char *Cmd) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//if (IfPm3Felica()) {
|
//if (IfPm3Felica()) {
|
||||||
// ans = CmdHFFelicaReader("s");
|
// ans = CmdHFFelicaReader("s");
|
||||||
// if (ans) {
|
// if (ans) {
|
||||||
|
|
|
@ -2614,7 +2614,7 @@ static int CmdT55xxSetDeviceConfig(const char *Cmd) {
|
||||||
//Validations
|
//Validations
|
||||||
if (errors || cmdp == 0) return usage_lf_deviceconfig();
|
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) {
|
if (set_defaults) {
|
||||||
// fixed bit length
|
// fixed bit length
|
||||||
|
|
|
@ -108,7 +108,7 @@ local function main(args)
|
||||||
if infile == nil then
|
if infile == nil then
|
||||||
return oops('Could not read file ', input)
|
return oops('Could not read file ', input)
|
||||||
end
|
end
|
||||||
|
|
||||||
local dumpdata = readdump(infile)
|
local dumpdata = readdump(infile)
|
||||||
-- The hex-data is now in ascii-format,
|
-- The hex-data is now in ascii-format,
|
||||||
if dumpdata == NIL then return oops('Dumpfle not loaded') end
|
if dumpdata == NIL then return oops('Dumpfle not loaded') end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue