RfidResearchGroup / proxmark3

Iceman Fork - Proxmark3
http://www.icedev.se
GNU General Public License v3.0
3.63k stars 981 forks source link

Readmem small fixes #2265

Closed martian closed 5 months ago

martian commented 5 months ago

Some minor cleanup in the new readmem functions.

github-actions[bot] commented 5 months ago

You are welcome to add an entry to the CHANGELOG.md as well

iceman1001 commented 5 months ago

Try to use the appropriate functions when parsing command lines..

strtol(argv[i + 1], NULL, 10);

uint32_t foo  = arg_get_u32_def(ctx, 1, 0);
martian commented 5 months ago

In cmdhw.c, arg_get_u32_def() is used already. The strto[u]l is in the proxmark3.c -- I don't see cliparser in there.

iceman1001 commented 5 months ago

Then we all set.
Its merged