Browse Source

spell check

master
tueddy 5 years ago
committed by Torsten Stauder
parent
commit
2f57882aef
  1. 4
      src/main.cpp

4
src/main.cpp

@ -3845,7 +3845,7 @@ void printWakeUpReason(){
} }
// wake up from LPCD, check card is present. This works only for ISO-14443 compatible cards // wake up from LPCD, check card is present. This works only for ISO-14443 compatible cards
void checCardIsPresentLPCD() {
void checkCardIsPresentLPCD() {
static PN5180ISO14443 nfc14443(RFID_CS, RFID_BUSY, RFID_RST); static PN5180ISO14443 nfc14443(RFID_CS, RFID_BUSY, RFID_RST);
nfc14443.begin(); nfc14443.begin();
nfc14443.reset(); nfc14443.reset();
@ -3886,7 +3886,7 @@ void setup() {
esp_sleep_wakeup_cause_t wakeup_reason; esp_sleep_wakeup_cause_t wakeup_reason;
wakeup_reason = esp_sleep_get_wakeup_cause(); wakeup_reason = esp_sleep_get_wakeup_cause();
if (wakeup_reason == ESP_SLEEP_WAKEUP_EXT1) { if (wakeup_reason == ESP_SLEEP_WAKEUP_EXT1) {
checCardIsPresentLPCD();
checkCardIsPresentLPCD();
} }
#endif #endif
srand(esp_random()); srand(esp_random());

Loading…
Cancel
Save