diff --git a/src/main.cpp b/src/main.cpp index 43947dd..fdccd76 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -77,13 +77,7 @@ void setup() { void loop() { - - #ifdef LOCAL_ACL - #ifdef SERIAL_ACL - checkSerialCommand(); - #endif - #endif - + // Check if new data is available if (newDataAvailable) { newDataAvailable = false; @@ -96,6 +90,7 @@ void loop() { uint64_t facilityID = (cardData >> 17) & 0xFFFF; uint64_t cardID = (cardData >> 1) & 0xFFFF; + #ifdef DEBUG Serial.print("Facility ID (Decimal): "); Serial.println(facilityID); Serial.print("Facility ID (Binary): "); @@ -110,10 +105,10 @@ void loop() { Serial.println(cardData, BIN); Serial.print("Total Bits Received: "); Serial.println(bitCount); + #endif String fullCardID = String(facilityID)+":"+String(cardID); - - Serial.print("Full Card (Tinance2): "); + Serial.print("FULL-CARD-ID:"); Serial.println(fullCardID);