mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-20 05:13:22 -07:00
Merge pull request #254 from marshmellow42/master
fix indentation warning
This commit is contained in:
commit
9331855865
1 changed files with 2 additions and 4 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue