mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-24 22:36:10 +02:00
cleaned warnings
This commit is contained in:
parent
0d65016ca1
commit
20649ee9f0
2 changed files with 5 additions and 7 deletions
|
@ -71,7 +71,7 @@ monitor_filters =
|
||||||
esp8266_exception_decoder
|
esp8266_exception_decoder
|
||||||
|
|
||||||
[env:esp32-wroom32]
|
[env:esp32-wroom32]
|
||||||
platform = espressif32@6.1.0
|
platform = espressif32@6.3.2
|
||||||
board = lolin_d32
|
board = lolin_d32
|
||||||
build_flags = ${env.build_flags}
|
build_flags = ${env.build_flags}
|
||||||
-DUSE_HSPI_FOR_EPD
|
-DUSE_HSPI_FOR_EPD
|
||||||
|
@ -79,7 +79,7 @@ monitor_filters =
|
||||||
esp32_exception_decoder
|
esp32_exception_decoder
|
||||||
|
|
||||||
[env:esp32-wroom32-prometheus]
|
[env:esp32-wroom32-prometheus]
|
||||||
platform = espressif32@6.1.0
|
platform = espressif32@6.3.2
|
||||||
board = lolin_d32
|
board = lolin_d32
|
||||||
build_flags = ${env.build_flags}
|
build_flags = ${env.build_flags}
|
||||||
-DENABLE_PROMETHEUS_EP
|
-DENABLE_PROMETHEUS_EP
|
||||||
|
@ -122,7 +122,7 @@ monitor_filters =
|
||||||
esp32_exception_decoder
|
esp32_exception_decoder
|
||||||
|
|
||||||
[env:opendtufusionv1]
|
[env:opendtufusionv1]
|
||||||
platform = espressif32@6.1.0
|
platform = espressif32@6.3.2
|
||||||
board = esp32-s3-devkitc-1
|
board = esp32-s3-devkitc-1
|
||||||
upload_protocol = esp-builtin
|
upload_protocol = esp-builtin
|
||||||
debug_tool = esp-builtin
|
debug_tool = esp-builtin
|
||||||
|
@ -137,8 +137,8 @@ build_flags = ${env.build_flags}
|
||||||
-DDEF_CMT_CSB=4
|
-DDEF_CMT_CSB=4
|
||||||
-DDEF_CMT_FCSB=21
|
-DDEF_CMT_FCSB=21
|
||||||
-DDEF_CMT_IRQ=8
|
-DDEF_CMT_IRQ=8
|
||||||
-DDEF_LED0=17
|
-DDEF_LED0=18
|
||||||
-DDEF_LED1=18
|
-DDEF_LED1=17
|
||||||
-DLED_ACTIVE_HIGH
|
-DLED_ACTIVE_HIGH
|
||||||
monitor_filters =
|
monitor_filters =
|
||||||
esp32_exception_decoder
|
esp32_exception_decoder
|
||||||
|
|
|
@ -71,11 +71,9 @@ void ahoywifi::setupWifi(bool startAP = false) {
|
||||||
|
|
||||||
|
|
||||||
void ahoywifi::tickWifiLoop() {
|
void ahoywifi::tickWifiLoop() {
|
||||||
static const uint8_t DISCONN_TIMEOUT = 10;
|
|
||||||
static const uint8_t TIMEOUT = 20;
|
static const uint8_t TIMEOUT = 20;
|
||||||
static const uint8_t SCAN_TIMEOUT = 10;
|
static const uint8_t SCAN_TIMEOUT = 10;
|
||||||
#if !defined(AP_ONLY)
|
#if !defined(AP_ONLY)
|
||||||
uint8_t timeout = (mStaConn == DISCONNECTED) ? DISCONN_TIMEOUT : TIMEOUT; // seconds
|
|
||||||
|
|
||||||
mCnt++;
|
mCnt++;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue