mirror of
https://github.com/justcallmekoko/ESP32Marauder.git
synced 2026-04-28 12:03:07 -07:00
Adjust wardriving coverage for C5
This commit is contained in:
@@ -3036,7 +3036,11 @@ void WiFiScan::executeWarDrive() {
|
|||||||
delay(500);
|
delay(500);
|
||||||
}
|
}
|
||||||
|
|
||||||
int n = WiFi.scanNetworks(false, true, false, 110, this->set_channel);
|
#ifndef HAS_DUAL_BAND
|
||||||
|
int n = WiFi.scanNetworks(false, true, false, 110, this->set_channel);
|
||||||
|
#else
|
||||||
|
int n = WiFi.scanNetworks(false, true, false, 110);
|
||||||
|
#endif
|
||||||
|
|
||||||
if (n > 0) {
|
if (n > 0) {
|
||||||
for (int i = 0; i < n; i++) {
|
for (int i = 0; i < n; i++) {
|
||||||
@@ -7548,7 +7552,7 @@ void WiFiScan::main(uint32_t currentTime)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
else if (currentScanMode == WIFI_SCAN_WAR_DRIVE) {
|
else if (currentScanMode == WIFI_SCAN_WAR_DRIVE) {
|
||||||
if (currentTime - initTime >= this->channel_hop_delay * 1000)
|
if (currentTime - initTime >= this->channel_hop_delay * HOP_DELAY)
|
||||||
{
|
{
|
||||||
initTime = millis();
|
initTime = millis();
|
||||||
#ifdef HAS_GPS
|
#ifdef HAS_GPS
|
||||||
|
|||||||
Reference in New Issue
Block a user