mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 02:34:48 +08:00
FIX: Fixed some warnings I didn't take notice off.
- memcpy should have been "memset" - forgot to add function declaration into header file.
This commit is contained in:
parent
758f5ee3e5
commit
ba4ad25b37
2 changed files with 2 additions and 2 deletions
|
@ -547,7 +547,7 @@ int CmdLegicRfFill(const char *Cmd) {
|
|||
|
||||
int i;
|
||||
UsbCommand c = {CMD_DOWNLOADED_SIM_SAMPLES_125K, {0, 0, 0}};
|
||||
memcpy(c.d.asBytes, cmd.arg[2], 48);
|
||||
memset(c.d.asBytes, cmd.arg[2], 48);
|
||||
|
||||
for(i = 0; i < 22; i++) {
|
||||
c.arg[0] = i*48;
|
||||
|
|
|
@ -70,7 +70,7 @@ uint32_t CRC8ja(uint8_t *buff, size_t size);
|
|||
|
||||
// test crc 16.
|
||||
uint32_t CRC16_DNP(uint8_t *buff, size_t size);
|
||||
|
||||
uint32_t CRC16_CCITT(uint8_t *buff, size_t size);
|
||||
|
||||
/* Static initialization of a crc structure */
|
||||
#define CRC_INITIALIZER(_order, _polynom, _initial_value, _final_xor) { \
|
||||
|
|
Loading…
Reference in a new issue