mirror of
https://github.com/justcallmekoko/ESP32Marauder.git
synced 2026-04-28 12:03:07 -07:00
enabled channel hop for sig mon
This commit is contained in:
@@ -5219,7 +5219,7 @@ void WiFiScan::RunRawScan(uint8_t scan_mode, uint16_t color) {
|
||||
display_obj.tft.setTextColor(TFT_GREEN, TFT_BLACK);
|
||||
display_obj.tftDrawChannelScaleButtons(set_channel, false);
|
||||
display_obj.tftDrawExitScaleButtons(false);
|
||||
if (scan_mode == WIFI_SCAN_RAW_CAPTURE)
|
||||
//if (scan_mode == WIFI_SCAN_RAW_CAPTURE)
|
||||
display_obj.tftDrawChanHopButton(false, settings_obj.loadSetting<bool>("ChanHop"));
|
||||
}
|
||||
#endif
|
||||
@@ -9063,6 +9063,7 @@ void WiFiScan::channelHop(bool filtered, bool ranged) {
|
||||
(this->currentScanMode == WIFI_SCAN_DEAUTH) ||
|
||||
(this->currentScanMode == WIFI_SCAN_EAPOL) ||
|
||||
(this->currentScanMode == WIFI_SCAN_RAW_CAPTURE) ||
|
||||
(this->currentScanMode == WIFI_SCAN_SIG_STREN) ||
|
||||
(this->currentScanMode == WIFI_SCAN_PACKET_RATE)))
|
||||
return;
|
||||
|
||||
@@ -10114,6 +10115,8 @@ void WiFiScan::main(uint32_t currentTime)
|
||||
if (currentTime - initTime >= this->channel_hop_delay * 500) {
|
||||
initTime = millis();
|
||||
|
||||
this->channelHop(true);
|
||||
|
||||
#ifdef HAS_SCREEN
|
||||
display_obj.tft.fillRect(0,
|
||||
(STATUS_BAR_WIDTH * 2) + 1 + EXT_BUTTON_WIDTH,
|
||||
|
||||
Reference in New Issue
Block a user