mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-30 22:26:35 +00:00
Merge pull request #6303 from s-hadinger/fix_echo_2nd_gen
Fix Unrecognized relay with Echo Dot 2nd Gen
This commit is contained in:
commit
3048b6550c
@ -406,6 +406,9 @@ uint32_t findEchoGeneration(void) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (0 == user_agent.length()) {
|
||||||
|
gen = 1; // if no user-agent, also revert to gen v1
|
||||||
|
}
|
||||||
|
|
||||||
AddLog_P2(LOG_LEVEL_DEBUG_MORE, D_LOG_HTTP D_HUE " User-Agent: %s, gen=%d", user_agent.c_str(), gen); // Header collection is set in xdrv_01_webserver.ino, in StartWebserver()
|
AddLog_P2(LOG_LEVEL_DEBUG_MORE, D_LOG_HTTP D_HUE " User-Agent: %s, gen=%d", user_agent.c_str(), gen); // Header collection is set in xdrv_01_webserver.ino, in StartWebserver()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user