mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
const for hfops
This commit is contained in:
parent
6f38c814a7
commit
890ea0d321
2 changed files with 2 additions and 2 deletions
|
@ -200,7 +200,7 @@ static uint32_t HfEncodeTkm(const uint8_t *uid, uint8_t modulation, uint8_t *dat
|
||||||
return len;
|
return len;
|
||||||
}
|
}
|
||||||
|
|
||||||
int HfSimulateTkm(uint8_t *uid, uint8_t modulation, uint32_t timeout) {
|
int HfSimulateTkm(const uint8_t *uid, uint8_t modulation, uint32_t timeout) {
|
||||||
// free eventually allocated BigBuf memory
|
// free eventually allocated BigBuf memory
|
||||||
BigBuf_free_keep_EM();
|
BigBuf_free_keep_EM();
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,6 @@
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
int HfReadADC(uint32_t samplesCount, bool ledcontrol);
|
int HfReadADC(uint32_t samplesCount, bool ledcontrol);
|
||||||
int HfSimulateTkm(uint8_t *uid, uint8_t modulation, uint32_t timeout);
|
int HfSimulateTkm(const uint8_t *uid, uint8_t modulation, uint32_t timeout);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue