mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 02:34:48 +08:00
HF_BOG make style
This commit is contained in:
commit
719c7fe314
1 changed files with 1 additions and 3 deletions
|
@ -205,10 +205,8 @@ void RAMFUNC SniffAndStore(uint8_t param) {
|
|||
if (auth_attempts > 0) {
|
||||
if (DBGLEVEL > 1)
|
||||
Dbprintf("[!] Authentication attempts = %u", auth_attempts);
|
||||
|
||||
if
|
||||
size_t size = 4 * auth_attempts;
|
||||
uint8_t *data = BigBuf_malloc(size);
|
||||
uint8_t *data = BigBuf_malloc(size);
|
||||
|
||||
if (!exists_in_spiffs((char *)HF_BOG_LOGFILE)) {
|
||||
rdv40_spiffs_write((char *)HF_BOG_LOGFILE, (uint8_t *)data, size, RDV40_SPIFFS_SAFETY_SAFE);
|
||||
|
|
Loading…
Reference in a new issue