Fix p4 safeboot compile (#24119)
This commit is contained in:
parent
f5ebfede02
commit
d27c0b36be
@ -371,9 +371,11 @@ void WifiBegin(uint8_t flag, uint8_t channel) {
|
|||||||
WiFi.waitForConnectResult(1000); // https://github.com/arendst/Tasmota/issues/14985
|
WiFi.waitForConnectResult(1000); // https://github.com/arendst/Tasmota/issues/14985
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef FIRMWARE_SAFEBOOT
|
||||||
#ifdef CONFIG_ESP_WIFI_REMOTE_ENABLED
|
#ifdef CONFIG_ESP_WIFI_REMOTE_ENABLED
|
||||||
HostedMCUStatus();
|
HostedMCUStatus();
|
||||||
#endif // CONFIG_ESP_WIFI_REMOTE_ENABLED
|
#endif // CONFIG_ESP_WIFI_REMOTE_ENABLED
|
||||||
|
#endif // FIRMWARE_SAFEBOOT
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
#ifdef ESP32
|
#ifdef ESP32
|
||||||
#ifdef CONFIG_ESP_WIFI_REMOTE_ENABLED
|
#ifdef CONFIG_ESP_WIFI_REMOTE_ENABLED
|
||||||
|
#ifndef FIRMWARE_SAFEBOOT
|
||||||
/*********************************************************************************************\
|
/*********************************************************************************************\
|
||||||
* Support for Hosted MCU to be used on ESP32-H2 and ESP32-P4
|
* Support for Hosted MCU to be used on ESP32-H2 and ESP32-P4
|
||||||
\*********************************************************************************************/
|
\*********************************************************************************************/
|
||||||
@ -378,5 +379,6 @@ bool Xdrv84(uint32_t function) {
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // FIRMWARE_SAFEBOOT
|
||||||
#endif // CONFIG_ESP_WIFI_REMOTE_ENABLED
|
#endif // CONFIG_ESP_WIFI_REMOTE_ENABLED
|
||||||
#endif // ESP32
|
#endif // ESP32
|
||||||
Loading…
Reference in New Issue
Block a user