mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
ADD: 'script list' - now sorts the scripts in alphabetic order. It needs the extra define, in order to scandir and alphasort to work.
and this made our own version of le32toh function complain. So this is removed from util.c and where it was used a new define replaced it (LE32TOH)
This commit is contained in:
parent
db34c61aa0
commit
6c4d1560e9
5 changed files with 31 additions and 33 deletions
|
@ -151,9 +151,7 @@ extern void wiegand_add_parity(uint8_t *target, uint8_t *source, uint8_t length)
|
|||
|
||||
extern void xor(unsigned char * dst, unsigned char * src, size_t len);
|
||||
extern int32_t le24toh (uint8_t data[3]);
|
||||
#ifndef ANDROID
|
||||
extern uint32_t le32toh (uint8_t *data);
|
||||
#endif
|
||||
|
||||
extern uint32_t PackBits(uint8_t start, uint8_t len, uint8_t* bits);
|
||||
extern void rol(uint8_t *data, const size_t len);
|
||||
extern uint32_t SwapBits(uint32_t value, int nrbits);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue