fix: lf viking demod - works :)
This commit is contained in:
@@ -40,7 +40,7 @@ static int usage_lf_viking_sim(void) {
|
|||||||
//by marshmellow
|
//by marshmellow
|
||||||
//see ASKDemod for what args are accepted
|
//see ASKDemod for what args are accepted
|
||||||
static int CmdVikingDemod(const char *Cmd) {
|
static int CmdVikingDemod(const char *Cmd) {
|
||||||
if (!ASKDemod(Cmd, false, false, 1)) {
|
if (ASKDemod(Cmd, false, false, 1) != PM3_SUCCESS) {
|
||||||
PrintAndLogEx(DEBUG, "DEBUG: Error - Viking ASKDemod failed");
|
PrintAndLogEx(DEBUG, "DEBUG: Error - Viking ASKDemod failed");
|
||||||
return PM3_ESOFT;
|
return PM3_ESOFT;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user