Skip to content

Commit bde3371

Browse files
committed
style
1 parent 3ec375a commit bde3371

File tree

7 files changed

+12
-11
lines changed

7 files changed

+12
-11
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ release:
374374
# - Removing -Werror...
375375
@find . \( -path "./Makefile.defs" -or -path "./client/Makefile" -or -path "./common_arm/Makefile.common" -or -path "./tools/hitag2crack/*/Makefile" -or -path "./client/deps/*/Makefile" \) -exec sed -i 's/ -Werror//' {} \;
376376
@find . \( -path "./client/deps/*.cmake" -or -path "./client/CMakeLists.txt" -or -path "./client/experimental_lib/CMakeLists.txt" \) -exec sed -i 's/ -Werror//' {} \;
377-
# - Changing banner...
377+
# - Changing banner...
378378
@sed -i "s/^#define BANNERMSG2 .*/#define BANNERMSG2 /" client/src/proxmark3.c
379379
@sed -i "s/^#define BANNERMSG3 .*/#define BANNERMSG3 \" Release... $(VERSION) - $(RELEASE_NAME)\"/" client/src/proxmark3.c
380380
@echo -n "# ";grep "^#define BANNERMSG2" client/src/proxmark3.c

armsrc/appmain.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2956,7 +2956,7 @@ static void PacketReceived(PacketCommandNG *packet) {
29562956
Dbprintf("reading flash memory failed with bytes between %d - %d", i, len);
29572957
}
29582958
isok = reply_old(CMD_FLASHMEM_DOWNLOADED, i, len, 0, mem, len);
2959-
2959+
29602960
if (isok != PM3_SUCCESS) {
29612961
Dbprintf("transfer to client failed with bytes between %d - %d", i, len);
29622962
}
@@ -2983,7 +2983,7 @@ static void PacketReceived(PacketCommandNG *packet) {
29832983
FlashStop();
29842984
}
29852985

2986-
reply_ng(CMD_FLASHMEM_INFO, (isok) ? PM3_SUCCESS : PM3_EFLASH, (uint8_t*)info, sizeof(rdv40_validation_t));
2986+
reply_ng(CMD_FLASHMEM_INFO, (isok) ? PM3_SUCCESS : PM3_EFLASH, (uint8_t *)info, sizeof(rdv40_validation_t));
29872987
BigBuf_free();
29882988

29892989
LED_B_OFF();

client/src/cmdhf14a.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3032,7 +3032,7 @@ int infoHF14A(bool verbose, bool do_nack_test, bool do_aid_search) {
30323032
char *copy = str_dup(getAtrInfo(sprint_hex_inrow(atr, atrLen)));
30333033
char *token = strtok(copy, "\n");
30343034
while (token != NULL) {
3035-
PrintAndLogEx(INFO, " %s", token);
3035+
PrintAndLogEx(SUCCESS, " %s", token);
30363036
token = strtok(NULL, "\n");
30373037
}
30383038
free(copy);

client/src/cmdhf14b.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ static int print_atqb_resp(uint8_t *data, uint8_t cid) {
491491
char *copy = str_dup(getAtrInfo(sprint_hex_inrow(atr, atrLen)));
492492
char *token = strtok(copy, "\n");
493493
while (token != NULL) {
494-
PrintAndLogEx(INFO, " %s", token);
494+
PrintAndLogEx(SUCCESS, " %s", token);
495495
token = strtok(NULL, "\n");
496496
}
497497
free(copy);

client/src/cmdhfmfu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2503,7 +2503,7 @@ static int CmdHF14AMfUInfo(const char *Cmd) {
25032503
if ((tagtype & (MFU_TT_UL_EV1_48 | MFU_TT_UL_EV1_128 | MFU_TT_UL_EV1 | MFU_TT_UL_NANO_40 |
25042504
MFU_TT_NTAG_210u | MFU_TT_NTAG_213 | MFU_TT_NTAG_213_F | MFU_TT_NTAG_213_C |
25052505
MFU_TT_NTAG_213_TT | MFU_TT_NTAG_215 | MFU_TT_NTAG_216 | MFU_TT_NTAG_216_F |
2506-
MFU_TT_NTAG_223_DNA | MFU_TT_NTAG_223_DNA_SD | MFU_TT_NTAG_224_DNA |MFU_TT_NTAG_224_DNA_SD |
2506+
MFU_TT_NTAG_223_DNA | MFU_TT_NTAG_223_DNA_SD | MFU_TT_NTAG_224_DNA | MFU_TT_NTAG_224_DNA_SD |
25072507
MFU_TT_NTAG_I2C_1K | MFU_TT_NTAG_I2C_2K | MFU_TT_NTAG_I2C_1K_PLUS | MFU_TT_NTAG_I2C_2K_PLUS |
25082508
MFU_TT_UL_AES))) {
25092509
uint8_t ulev1_signature[48] = {0x00};

client/src/cmdlft55xx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2755,7 +2755,7 @@ static int CmdT55xxRestore(const char *Cmd) {
27552755
config.downlink_mode = downlink_mode;
27562756

27572757
// Write the page 0 config
2758-
//
2758+
//
27592759
// when running `lf t55xx dump` and user failed, the dump file will have a all zero block0 (ie: config block)
27602760
// writing this bad config block will brick the tag.
27612761
if (dump[0] != 0x00000000) {

doc/commands.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12330,9 +12330,10 @@
1233012330
"-s, --sign create a signature",
1233112331
"-d <hex> flash memory id, 8 hex bytes",
1233212332
"-p, --pem <fn> key in PEM format",
12333-
"-v, --verbose verbose output"
12333+
"-v, --verbose verbose output",
12334+
"-w, --write write signature to flash memory"
1233412335
],
12335-
"usage": "mem info [-hsv] [-d <hex>] [-p <fn>]"
12336+
"usage": "mem info [-hsvw] [-d <hex>] [-p <fn>]"
1233612337
},
1233712338
"mem load": {
1233812339
"command": "mem load",
@@ -12537,7 +12538,7 @@
1253712538
"offline": false,
1253812539
"options": [
1253912540
"-h, --help This help",
12540-
"-p <dec> 0,1,2 page memory"
12541+
"-p <dec> page memory"
1254112542
],
1254212543
"usage": "mem wipe [-h] [-p <dec>]"
1254312544
},
@@ -13654,6 +13655,6 @@
1365413655
"metadata": {
1365513656
"commands_extracted": 784,
1365613657
"extracted_by": "PM3Help2JSON v1.00",
13657-
"extracted_on": "2025-09-02T14:01:50"
13658+
"extracted_on": "2025-09-20T20:01:43"
1365813659
}
1365913660
}

0 commit comments

Comments
 (0)