Fix compilation without webserver

This commit is contained in:
Theo Arends 2024-01-15 22:08:33 +01:00
parent b0b2f22e5b
commit 5e84d57c2a
2 changed files with 4 additions and 0 deletions

View File

@ -1147,7 +1147,9 @@ bool XdrvCall(uint32_t function) {
result = xdrv_func_ptr[x](function);
#ifdef USE_WEBSERVER
if (FUNC_WEB_SENSOR == function) { WSContentSeparator(1); } // Show separator if needed
#endif // USE_WEBSERVER
#ifdef USE_PROFILE_FUNCTION
#ifdef XFUNC_PTR_IN_ROM

View File

@ -1130,7 +1130,9 @@ bool XsnsCall(uint32_t function) {
result = xsns_func_ptr[x](function);
#ifdef USE_WEBSERVER
if (FUNC_WEB_SENSOR == function) { WSContentSeparator(1); } // Show separator if needed
#endif // USE_WEBSERVER
#ifdef USE_PROFILE_FUNCTION
#ifdef XFUNC_PTR_IN_ROM