mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-19 21:03:23 -07:00
fix build error on kali in new noralsy
This commit is contained in:
parent
a9968da347
commit
199c74a47f
1 changed files with 2 additions and 2 deletions
|
@ -118,7 +118,7 @@ int CmdNoralsyDemod(const char *Cmd) {
|
||||||
bool st = DetectST_ext(DemodBuffer, &DemodBufferLen, &foundclk, &ststart, &stend);
|
bool st = DetectST_ext(DemodBuffer, &DemodBufferLen, &foundclk, &ststart, &stend);
|
||||||
if (!st) return 0;
|
if (!st) return 0;
|
||||||
|
|
||||||
if (!ASKDemod_ext("32 0 0", FALSE, FALSE, 1, &st)) {
|
if (!ASKDemod_ext("32 0 0", false, false, 1, &st)) {
|
||||||
if (g_debugMode) PrintAndLog("DEBUG: Error - Noralsy: ASK/Manchester Demod failed");
|
if (g_debugMode) PrintAndLog("DEBUG: Error - Noralsy: ASK/Manchester Demod failed");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -176,7 +176,7 @@ int CmdNoralsyDemod(const char *Cmd) {
|
||||||
|
|
||||||
int CmdNoralsyRead(const char *Cmd) {
|
int CmdNoralsyRead(const char *Cmd) {
|
||||||
CmdLFRead("s");
|
CmdLFRead("s");
|
||||||
getSamples("8000",TRUE);
|
getSamples("8000",true);
|
||||||
return CmdNoralsyDemod(Cmd);
|
return CmdNoralsyDemod(Cmd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue