cyberman54 / ESP32-Paxcounter

Wifi & BLE driven passenger flow metering with cheap ESP32 boards
https://cyberman54.github.io/ESP32-Paxcounter/
Other
1.72k stars 401 forks source link

"Guru Meditation Error" when WIFICOUNTER is 0. #481

Closed ajpaezm closed 4 years ago

ajpaezm commented 4 years ago

I would like to scan only BLE, so in the paxcounter.conf I should only set:

#define BLECOUNTER                      1       // set it to 1 if you want to use BLE count, at expense of power & memory
#define WIFICOUNTER                     0       // set it to 0 if you want to switch off WIFI count

But the following error comes, and then the device (a LoRa32 v2.1) comes up with this error:

Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.

I can scan BLE when both are on and cfg.blescan = 1. Is there a way to be able to only count BLE using these settings?

Thanks in advance for any help.

cyberman54 commented 4 years ago

fixed