mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 11:16:34 +00:00
Fix compilation without webserver
This commit is contained in:
parent
b0b2f22e5b
commit
5e84d57c2a
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user