Merge pull request #8176 from s-hadinger/display_compile

Fix compilation error when USE_DISPLAY without I2C or SPI
This commit is contained in:
Theo Arends 2020-04-14 13:38:03 +02:00 committed by GitHub
commit bec1f74685
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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