minor styleish

This commit is contained in:
iceman1001 2017-08-06 16:31:01 +02:00
commit c583570a3d
4 changed files with 8 additions and 5 deletions

View file

@ -1064,8 +1064,7 @@ bool detectPSK(){
// try manchester - NOTE: ST only applies to T55x7 tags.
bool detectASK_MAN(){
bool stcheck = false;
int ans = ASKDemod_ext("0 0 0", false, false, 1, &stcheck);
if (!ans) {
if ( !ASKDemod_ext("0 0 0", false, false, 1, &stcheck) ) {
if (g_debugMode) PrintAndLog("DEBUG: Error - EM: ASK/Manchester Demod failed");
return false;
}