mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-07-13 10:46:31 +02:00
Added timeout to WiFiScan.cpp to prevent getting stuck at WIFI_SCAN_RUNNING (#3197)
* Added timeout to WiFiScan class to prevent haning at stucking at WIFI_SCAN_RUNNING when scan fails internally * fixed tabs and returns, connected scanTimeout to max_scan_per_channel timeout * Corrected tabs two * Added static vars scanTimeout und scanStarted to WiFiScan.h protected section * Fixed missing ; in line 64
This commit is contained in:
@ -50,8 +50,11 @@ public:
|
||||
protected:
|
||||
|
||||
static bool _scanAsync;
|
||||
|
||||
|
||||
static uint32_t _scanStarted;
|
||||
static uint32_t _scanTimeout;
|
||||
static uint16_t _scanCount;
|
||||
|
||||
static void* _scanResult;
|
||||
|
||||
static void * _getScanInfoByIndex(int i);
|
||||
|
Reference in New Issue
Block a user