diff --git a/tasmota/xdsp_interface.ino b/tasmota/xdsp_interface.ino index f713bf2de..c92d6eceb 100644 --- a/tasmota/xdsp_interface.ino +++ b/tasmota/xdsp_interface.ino @@ -17,6 +17,7 @@ along with this program. If not, see . */ +#if defined(USE_I2C) || defined(USE_SPI) #ifdef USE_DISPLAY #ifdef XFUNC_PTR_IN_ROM @@ -137,3 +138,4 @@ bool XdspCall(uint8_t Function) } #endif // USE_DISPLAY +#endif // USE_I2C or USE_SPI