minor styleish

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

No files matched your search

+4 -1
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);