mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-24 14:26:11 +02:00
cleaned warnings
This commit is contained in:
parent
0d65016ca1
commit
20649ee9f0
2 changed files with 5 additions and 7 deletions
|
@ -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++;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue