mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-14 02:26:59 -07:00
fixed warnings on Mac OS 10.8, xcode 5
This commit is contained in:
parent
450d2e3a96
commit
7bb9d33e2c
6 changed files with 13 additions and 13 deletions
|
@ -87,7 +87,7 @@ int CmdReset(const char *Cmd)
|
|||
int CmdSetDivisor(const char *Cmd)
|
||||
{
|
||||
UsbCommand c = {CMD_SET_LF_DIVISOR, {strtol(Cmd, NULL, 0), 0, 0}};
|
||||
if (c.arg[0] < 0 || c.arg[0] > 255) {
|
||||
if (c.arg[0] < 19 || c.arg[0] > 255) {
|
||||
PrintAndLog("divisor must be between 19 and 255");
|
||||
} else {
|
||||
SendCommand(&c);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue