mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
cppcheck: a few static & const stuff
This commit is contained in:
parent
f90d11912c
commit
e42932738e
10 changed files with 27 additions and 99 deletions
|
@ -37,8 +37,6 @@
|
|||
*/
|
||||
|
||||
#include "standalone.h"
|
||||
#include <inttypes.h>
|
||||
#include "lf_hidfcbrute.h"
|
||||
|
||||
#include "proxmark3_arm.h"
|
||||
#include "appmain.h"
|
||||
|
@ -59,6 +57,8 @@
|
|||
|
||||
#define LF_HIDCOLLECT_LOGFILE "lf_hid_fcbrute.log"
|
||||
|
||||
static void hid_calculate_checksum_and_set(uint32_t *high, uint32_t *low, uint32_t cardnum, uint32_t fc);
|
||||
|
||||
static void append(uint8_t *entry, size_t entry_len) {
|
||||
LED_B_ON();
|
||||
DbpString("Writing... ");
|
||||
|
@ -166,7 +166,7 @@ void RunMod(void) {
|
|||
LEDsoff();
|
||||
}
|
||||
|
||||
void hid_calculate_checksum_and_set(uint32_t *high, uint32_t *low, uint32_t cardnum, uint32_t fc) {
|
||||
static void hid_calculate_checksum_and_set(uint32_t *high, uint32_t *low, uint32_t cardnum, uint32_t fc) {
|
||||
uint32_t newhigh = 0;
|
||||
uint32_t newlow = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue