Make #define NO_SCREEN work again

This commit is contained in:
Thomas Göttgens
2022-05-06 15:41:37 +02:00
parent 1812843363
commit b5cc304336
8 changed files with 20 additions and 1 deletions

View File

@@ -20,6 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "configuration.h"
#ifndef NO_SCREEN
#include <OLEDDisplay.h>
#include "GPS.h"
@@ -1652,3 +1653,4 @@ int Screen::handleUIFrameEvent(const UIFrameEvent *event)
}
} // namespace graphics
#endif // NO_SCREEN