Skip to content

Commit bf0c3d3

Browse files
authored
Merge pull request #20 from cjkas/cjkas/fix-bkp
Update platform to espressif32 @ 6.13.0. SSID scan interval increased to 10 minutes to offload ESP.
2 parents f0d6907 + 3a3ce2a commit bf0c3d3

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

platformio.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
default_envs = esp32devdbg
1313

1414
[env]
15-
platform = espressif32 @ 5.4.0
15+
platform = espressif32 @ 6.13.0
1616
framework = arduino
1717
lib_deps =
1818
bblanchon/ArduinoJson@^7.2.2
@@ -26,7 +26,7 @@ extra_scripts =
2626

2727
board_build.filesystem = littlefs
2828
build_flags =
29-
-DCORE_DEBUG_LEVEL=1
29+
-DCORE_DEBUG_LEVEL=3
3030
-DCONFIG_ESP_COREDUMP_ENABLE_TO_FLASH=1
3131
-DCONFIG_ESP_COREDUMP_DATA_FORMAT_ELF=1
3232
-DCONFIG_ESP_COREDUMP_CHECKSUM_CRC32=1

src/ESPNetwork.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//enum class conn_types_t : byte;
88

99
#define CONNECT_TIMEOUT 20000
10-
#define SSID_SCAN_INTERVAL 60000
10+
#define SSID_SCAN_INTERVAL 600000
1111
class ESPNetwork {
1212
protected:
1313
unsigned long lastEmit = 0;

0 commit comments

Comments
 (0)