minor styleish

This commit is contained in:
iceman1001
2017-08-06 16:31:01 +02:00
parent 9d8cfd13a7
commit c583570a3d
4 changed files with 8 additions and 5 deletions

View File

@@ -106,7 +106,10 @@ int CmdNoralsyDemod(const char *Cmd) {
if (g_debugMode) PrintAndLog("DEBUG: Error - Noralsy: ASK/Manchester Demod failed");
return 0;
}
if (!st) return 0;
if (!st) {
if (g_debugMode) PrintAndLog("DEBUG: Error - Noralsy: sequence terminator not found");
return 0;
}
size_t size = DemodBufferLen;
int ans = detectNoralsy(DemodBuffer, &size);