From 4cf82bf0ea1137e173f302e883c6829ddb68cb12 Mon Sep 17 00:00:00 2001 From: Stephan Hadinger Date: Tue, 14 Apr 2020 12:56:08 +0200 Subject: [PATCH] Fix compilation error --- tasmota/xdsp_interface.ino | 2 ++ 1 file changed, 2 insertions(+) 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