const for hfops

This commit is contained in:
Henry Gabryjelski 2023-08-09 00:03:48 -07:00
commit 890ea0d321
2 changed files with 2 additions and 2 deletions

View file

@ -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();

View file

@ -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