chg: cleaning up some function calls.
fix: check to see clock is bigger than zero.
This commit is contained in:
1 parent
3b91a33eec
commit
30ceea4aea
8 files changed
+114
-85
No files matched your search
+2
-2
@@ -1027,7 +1027,7 @@ bool doPreambleSearch(size_t *startIdx){
|
||||
|
||||
bool detectFSK(){
|
||||
// detect fsk clock
|
||||
if (!GetFskClock("", false, false)) {
|
||||
if (!GetFskClock("", false)) {
|
||||
if (g_debugMode) PrintAndLog("DEBUG: Error - EM: FSK clock failed");
|
||||
return false;
|
||||
}
|
||||
@@ -1041,7 +1041,7 @@ bool detectFSK(){
|
||||
}
|
||||
// PSK clocks should be easy to detect ( but difficult to demod a non-repeating pattern... )
|
||||
bool detectPSK(){
|
||||
int ans = GetPskClock("", false, false);
|
||||
int ans = GetPskClock("", false);
|
||||
if (ans <= 0) {
|
||||
if (g_debugMode) PrintAndLog("DEBUG: Error - EM: PSK clock failed");
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user