mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
rename globals
This commit is contained in:
parent
437f5f6448
commit
5b54385347
34 changed files with 458 additions and 458 deletions
|
@ -338,7 +338,7 @@ void setT55xxConfig(uint8_t arg0, t55xx_configurations_t *c) {
|
|||
// write new
|
||||
res = Flash_Write(T55XX_CONFIG_OFFSET, buf, T55XX_CONFIG_LEN);
|
||||
|
||||
if (res == T55XX_CONFIG_LEN && DBGLEVEL > 1) {
|
||||
if (res == T55XX_CONFIG_LEN && g_dbglevel > 1) {
|
||||
DbpString("T55XX Config save " _GREEN_("success"));
|
||||
}
|
||||
|
||||
|
@ -378,7 +378,7 @@ void loadT55xxConfig(void) {
|
|||
memcpy((uint8_t *)&T55xx_Timing, buf, T55XX_CONFIG_LEN);
|
||||
|
||||
if (isok == T55XX_CONFIG_LEN) {
|
||||
if (DBGLEVEL > 1) DbpString("T55XX Config load success");
|
||||
if (g_dbglevel > 1) DbpString("T55XX Config load success");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
@ -1854,7 +1854,7 @@ void T55xxDangerousRawTest(uint8_t *data) {
|
|||
for (uint8_t i = 0; i < c->bitlen; i++)
|
||||
len = T55xx_SetBits(bs, len, c->data[i], 1, sizeof(bs));
|
||||
|
||||
if (DBGLEVEL > 1) {
|
||||
if (g_dbglevel > 1) {
|
||||
Dbprintf("LEN %i, TIMING %i", len, c->time);
|
||||
for (uint8_t i = 0; i < len; i++) {
|
||||
uint8_t sendbits = (bs[BITSTREAM_BYTE(i)] >> BITSTREAM_BIT(i));
|
||||
|
@ -2101,7 +2101,7 @@ void T55xx_ChkPwds(uint8_t flags) {
|
|||
}
|
||||
baseline_faulty >>= 5;
|
||||
|
||||
if (DBGLEVEL >= DBG_DEBUG)
|
||||
if (g_dbglevel >= DBG_DEBUG)
|
||||
Dbprintf("Baseline " _YELLOW_("%llu"), baseline_faulty);
|
||||
|
||||
uint8_t *pwds = BigBuf_get_EM_addr();
|
||||
|
@ -2163,7 +2163,7 @@ void T55xx_ChkPwds(uint8_t flags) {
|
|||
int64_t tmp_dist = (baseline_faulty - sum);
|
||||
curr = ABS(tmp_dist);
|
||||
|
||||
if (DBGLEVEL >= DBG_DEBUG)
|
||||
if (g_dbglevel >= DBG_DEBUG)
|
||||
Dbprintf("%08x has distance " _YELLOW_("%llu"), pwd, curr);
|
||||
|
||||
if (curr > prev) {
|
||||
|
@ -2268,7 +2268,7 @@ void CopyHIDtoT55x7(uint32_t hi2, uint32_t hi, uint32_t lo, uint8_t longFMT, boo
|
|||
LED_D_ON();
|
||||
if (em) {
|
||||
Dbprintf("Clone HID Prox to EM4x05 is untested and disabled until verified");
|
||||
if (DBGLEVEL == DBG_DEBUG) {
|
||||
if (g_dbglevel == DBG_DEBUG) {
|
||||
Dbprintf("# | data ( EM4x05 )");
|
||||
Dbprintf("--+----------------");
|
||||
Dbprintf("0 | ", data[0]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue