cleaned warnings

This commit is contained in:
lumapu 2023-08-27 23:20:55 +02:00
parent 0d65016ca1
commit 20649ee9f0
2 changed files with 5 additions and 7 deletions

View file

@ -71,11 +71,9 @@ void ahoywifi::setupWifi(bool startAP = false) {
void ahoywifi::tickWifiLoop() {
static const uint8_t DISCONN_TIMEOUT = 10;
static const uint8_t TIMEOUT = 20;
static const uint8_t SCAN_TIMEOUT = 10;
#if !defined(AP_ONLY)
uint8_t timeout = (mStaConn == DISCONNECTED) ? DISCONN_TIMEOUT : TIMEOUT; // seconds
mCnt++;