mirror of https://github.com/arendst/Tasmota.git
Merge pull request #8176 from s-hadinger/display_compile
Fix compilation error when USE_DISPLAY without I2C or SPI
This commit is contained in:
commit
bec1f74685
|
@ -17,6 +17,7 @@
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if defined(USE_I2C) || defined(USE_SPI)
|
||||||
#ifdef USE_DISPLAY
|
#ifdef USE_DISPLAY
|
||||||
|
|
||||||
#ifdef XFUNC_PTR_IN_ROM
|
#ifdef XFUNC_PTR_IN_ROM
|
||||||
|
@ -137,3 +138,4 @@ bool XdspCall(uint8_t Function)
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // USE_DISPLAY
|
#endif // USE_DISPLAY
|
||||||
|
#endif // USE_I2C or USE_SPI
|
||||||
|
|
Loading…
Reference in New Issue