mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 13:00:42 -07:00
make style
This commit is contained in:
parent
5eeb356418
commit
a55e597e36
37 changed files with 193 additions and 193 deletions
|
|
@ -331,7 +331,8 @@ int getPyramidBits(uint32_t fc, uint32_t cn, uint8_t *pyramidBits) {
|
|||
// Get 26 wiegand from FacilityCode, CardNumber
|
||||
uint8_t wiegand[24];
|
||||
memset(wiegand, 0x00, sizeof(wiegand));
|
||||
num_to_bytebits(fc, 8, wiegand); num_to_bytebits(cn, 16, wiegand + 8);
|
||||
num_to_bytebits(fc, 8, wiegand);
|
||||
num_to_bytebits(cn, 16, wiegand + 8);
|
||||
|
||||
// add wiegand parity bits (dest, source, len)
|
||||
wiegand_add_parity(pre + 80, wiegand, 24);
|
||||
|
|
|
|||
|
|
@ -164,8 +164,7 @@ main_loop(char *script_cmds_file, char *script_cmd) {
|
|||
cmd = readline(PROXPROMPT_USB);
|
||||
else
|
||||
cmd = readline(PROXPROMPT_FPC);
|
||||
}
|
||||
else
|
||||
} else
|
||||
cmd = readline(PROXPROMPT_OFFLINE);
|
||||
|
||||
fflush(NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue