Fix p4 safeboot compile (#24119)

This commit is contained in:
Jason2866 2025-11-14 20:26:09 +01:00 committed by GitHub
parent f5ebfede02
commit d27c0b36be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View File

@ -371,9 +371,11 @@ void WifiBegin(uint8_t flag, uint8_t channel) {
WiFi.waitForConnectResult(1000); // https://github.com/arendst/Tasmota/issues/14985
}
#ifndef FIRMWARE_SAFEBOOT
#ifdef CONFIG_ESP_WIFI_REMOTE_ENABLED
HostedMCUStatus();
#endif // CONFIG_ESP_WIFI_REMOTE_ENABLED
#endif // FIRMWARE_SAFEBOOT
}
/**

View File

@ -8,6 +8,7 @@
#ifdef ESP32
#ifdef CONFIG_ESP_WIFI_REMOTE_ENABLED
#ifndef FIRMWARE_SAFEBOOT
/*********************************************************************************************\
* Support for Hosted MCU to be used on ESP32-H2 and ESP32-P4
\*********************************************************************************************/
@ -378,5 +379,6 @@ bool Xdrv84(uint32_t function) {
return result;
}
#endif // FIRMWARE_SAFEBOOT
#endif // CONFIG_ESP_WIFI_REMOTE_ENABLED
#endif // ESP32