mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-24 11:46:34 +00:00
Test that USER_SETUP_LOADED is defined
This commit is contained in:
parent
3c44fecb38
commit
b0b9bb2e4f
@ -1,7 +1,7 @@
|
||||
/* MIT License - Copyright (c) 2019-2021 Francis Van Roie
|
||||
For full license information read the LICENSE file in the project folder */
|
||||
|
||||
#ifdef ARDUINO
|
||||
#if defined(ARDUINO) && defined(USER_SETUP_LOADED)
|
||||
#include "tft_driver_tftespi.h"
|
||||
|
||||
namespace dev {
|
||||
|
@ -4,7 +4,7 @@
|
||||
#ifndef HASP_TFTESPI_DRIVER_H
|
||||
#define HASP_TFTESPI_DRIVER_H
|
||||
|
||||
#ifdef ARDUINO
|
||||
#if defined(ARDUINO) && defined(USER_SETUP_LOADED)
|
||||
#include "Arduino.h"
|
||||
|
||||
#include "lvgl.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user