Fix GDK101 power on detection (#24242)
This commit is contained in:
parent
f7c2da8402
commit
1795b5b439
@ -14,6 +14,7 @@ All notable changes to this project will be documented in this file.
|
||||
|
||||
### Fixed
|
||||
- ESP32 BLE not starting (#24240)
|
||||
- GDK101 power on detection (#24242)
|
||||
|
||||
### Removed
|
||||
|
||||
|
||||
@ -126,6 +126,7 @@ The latter links can be used for OTA upgrades too like ``OtaUrl https://ota.tasm
|
||||
### Fixed
|
||||
- ESP8266 TasmotaSerial flush receive buffer on executing `TasmotaSerial.flush();`
|
||||
- ESP32-P4 unique MQTT Client based on hosted MCU MAC address
|
||||
- GDK101 power on detection [#24242](https://github.com/arendst/Tasmota/issues/24242)
|
||||
- DALI watchdog exception
|
||||
- TuyaMCU v1 exception 28 regression from v15.1.0.1 reverted PR24063 [#24220](https://github.com/arendst/Tasmota/issues/24220)
|
||||
- ESP32 BLE not starting [#24240](https://github.com/arendst/Tasmota/issues/24240)
|
||||
|
||||
@ -256,10 +256,11 @@ bool Xsns106(uint32_t function) {
|
||||
|
||||
bool result = false;
|
||||
|
||||
if (FUNC_INIT == function) {
|
||||
Gdk101Detect();
|
||||
if (!Gdk.ready) {
|
||||
if ((TasmotaGlobal.uptime < 20) && (FUNC_EVERY_SECOND == function)) {
|
||||
Gdk101Detect(); // GDK101 power on ready can take 8 seconds so try every second for up to 20 seconds
|
||||
}
|
||||
else if (Gdk.ready) {
|
||||
} else {
|
||||
switch (function) {
|
||||
case FUNC_EVERY_SECOND:
|
||||
Gdk101EverySecond();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user