mirror of
https://github.com/justcallmekoko/ESP32Marauder.git
synced 2026-08-02 17:08:34 -07:00
Fix wifi initialization for attacks
First attack would succeed. Subsequent attacks would fail
This commit is contained in:
@@ -352,7 +352,14 @@ void WiFiScan::startWiFiAttacks(uint8_t scan_mode, uint16_t color, String title_
|
||||
display_obj.tft.setTextColor(TFT_GREEN, TFT_BLACK);
|
||||
#endif
|
||||
packets_sent = 0;
|
||||
WiFi.mode(WIFI_AP_STA);
|
||||
esp_wifi_init(&cfg);
|
||||
esp_wifi_set_storage(WIFI_STORAGE_RAM);
|
||||
esp_wifi_set_mode(WIFI_AP_STA);
|
||||
esp_wifi_start();
|
||||
esp_wifi_set_channel(set_channel, WIFI_SECOND_CHAN_NONE);
|
||||
|
||||
//WiFi.mode(WIFI_AP_STA);
|
||||
|
||||
//esp_wifi_init(&cfg);
|
||||
//esp_wifi_set_storage(WIFI_STORAGE_RAM);
|
||||
//esp_wifi_set_mode(WIFI_AP_STA);
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#define MARAUDER_FLIPPER
|
||||
//#define ESP32_LDDB
|
||||
|
||||
#define MARAUDER_VERSION "v0.9.19"
|
||||
#define MARAUDER_VERSION "v0.9.20"
|
||||
|
||||
//// BUTTON DEFINITIONS
|
||||
#ifdef MARAUDER_MINI
|
||||
|
||||
Reference in New Issue
Block a user