Fix 'make style' findings

This commit is contained in:
Christian Zietz 2024-02-02 20:41:37 +01:00
commit 404d0a8c7b
4 changed files with 19 additions and 4 deletions

View file

@ -567,7 +567,6 @@ OUT:
StopTicks(); StopTicks();
} }
void LegicRfSetThreshold(uint32_t threshold) void LegicRfSetThreshold(uint32_t threshold) {
{
input_threshold = threshold; input_threshold = threshold;
} }

View file

@ -7940,6 +7940,21 @@
], ],
"usage": "hw reset [-h]" "usage": "hw reset [-h]"
}, },
"hw sethfthresh": {
"command": "hw sethfthresh",
"description": "Set thresholds in HF/14a and Legic mode.",
"notes": [
"hw sethfthresh -t 7 -i 20 -l 8"
],
"offline": false,
"options": [
"-h, --help This help",
"-t, --thresh <dec> threshold, used in 14a reader mode (def 7)",
"-i, --high <dec> high threshold, used in 14a sniff mode (def 20)",
"-l, --legic <dec> threshold used in Legic mode (def 8)"
],
"usage": "hw sethfthresh [-h] [-t <dec>] [-i <dec>] [-l <dec>]"
},
"hw setlfdivisor": { "hw setlfdivisor": {
"command": "hw setlfdivisor", "command": "hw setlfdivisor",
"description": "Drive LF antenna at 12 MHz / (divisor + 1).", "description": "Drive LF antenna at 12 MHz / (divisor + 1).",

View file

@ -804,6 +804,7 @@ Check column "offline" for their availability.
|`hw readmem `|N |`Read from processor flash` |`hw readmem `|N |`Read from processor flash`
|`hw reset `|N |`Reset the Proxmark3` |`hw reset `|N |`Reset the Proxmark3`
|`hw setlfdivisor `|N |`Drive LF antenna at 12MHz / (divisor + 1)` |`hw setlfdivisor `|N |`Drive LF antenna at 12MHz / (divisor + 1)`
|`hw sethfthresh `|N |`Set thresholds in HF/14a mode`
|`hw setmux `|N |`Set the ADC mux to a specific value` |`hw setmux `|N |`Set the ADC mux to a specific value`
|`hw standalone `|N |`Jump to the standalone mode` |`hw standalone `|N |`Jump to the standalone mode`
|`hw status `|N |`Show runtime status information about the connected Proxmark3` |`hw status `|N |`Show runtime status information about the connected Proxmark3`