Merge pull request #254 from marshmellow42/master

fix indentation warning
This commit is contained in:
Iceman 2017-03-26 23:39:37 +02:00 committed by GitHub
commit 9331855865

View file

@ -34,16 +34,14 @@ int CmdIndalaDecode(const char *Cmd) {
} }
if (!ans) { if (!ans) {
if (g_debugMode) if (g_debugMode) PrintAndLog("Error1: %i",ans);
PrintAndLog("Error1: %i",ans);
return 0; return 0;
} }
uint8_t invert=0; uint8_t invert=0;
size_t size = DemodBufferLen; size_t size = DemodBufferLen;
int startIdx = indala26decode(DemodBuffer, &size, &invert); int startIdx = indala26decode(DemodBuffer, &size, &invert);
if (startIdx < 0 || size > 224) { if (startIdx < 0 || size > 224) {
if (g_debugMode) if (g_debugMode) PrintAndLog("Error2: %i",startIdx);
PrintAndLog("Error2: %i",startIdx);
return -1; return -1;
} }
setDemodBuf(DemodBuffer, size, (size_t)startIdx); setDemodBuf(DemodBuffer, size, (size_t)startIdx);