diff --git a/client/cmdlfcotag.c b/client/cmdlfcotag.c index 96548fca9..dd7d5d648 100644 --- a/client/cmdlfcotag.c +++ b/client/cmdlfcotag.c @@ -1,5 +1,5 @@ //----------------------------------------------------------------------------- -// Authored by Iceman +// Iceman // // This code is licensed to you under the terms of the GNU GPL, version 2 or, // at your option, any later version. See the LICENSE.txt file for the text of @@ -17,6 +17,7 @@ #include "lfdemod.h" #include "cmddata.h" // getSamples #include "ui.h" // PrintAndLog +#include "ctype.h" // tolower static int CmdHelp(const char *Cmd); @@ -78,7 +79,7 @@ static int CmdCOTAGDemod(const char *Cmd) { // 2 = raw signal - maxlength bigbuff static int CmdCOTAGRead(const char *Cmd) { - if (Cmd[0] == 'h' || Cmd[0] == 'H') return usage_lf_cotag_read(); + if ( tolower(Cmd[0]) == 'h') return usage_lf_cotag_read(); uint32_t rawsignal = 1; sscanf(Cmd, "%u", &rawsignal); diff --git a/client/cmdlfcotag.h b/client/cmdlfcotag.h index 01c4daa03..d7b5bc331 100644 --- a/client/cmdlfcotag.h +++ b/client/cmdlfcotag.h @@ -1,5 +1,5 @@ //----------------------------------------------------------------------------- -// Authored by Iceman +// Iceman // // This code is licensed to you under the terms of the GNU GPL, version 2 or, // at your option, any later version. See the LICENSE.txt file for the text of diff --git a/client/cmdlfgallagher.c b/client/cmdlfgallagher.c index 051973a28..894e98ef8 100644 --- a/client/cmdlfgallagher.c +++ b/client/cmdlfgallagher.c @@ -1,4 +1,5 @@ //----------------------------------------------------------------------------- +// Iceman, 2019 // // This code is licensed to you under the terms of the GNU GPL, version 2 or, // at your option, any later version. See the LICENSE.txt file for the text of diff --git a/client/cmdlfgallagher.h b/client/cmdlfgallagher.h index 90729b152..0ee2a72b3 100644 --- a/client/cmdlfgallagher.h +++ b/client/cmdlfgallagher.h @@ -1,4 +1,5 @@ //----------------------------------------------------------------------------- +// Iceman, 2019 // // This code is licensed to you under the terms of the GNU GPL, version 2 or, // at your option, any later version. See the LICENSE.txt file for the text of