Skip to content

Commit

Permalink
colorui: fix build without calibration feature
Browse files Browse the repository at this point in the history
  • Loading branch information
tpruvot committed Nov 25, 2020
1 parent 168a316 commit 8510585
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Marlin/src/lcd/tft/touch.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@

#if ENABLED(TOUCH_SCREEN_CALIBRATION)
#include "../tft_io/touch_calibration.h"
#else
#define TOUCH_LANDSCAPE 1
#define TOUCH_PORTRAIT 2
#ifndef TOUCH_ORIENTATION
#define TOUCH_ORIENTATION TOUCH_LANDSCAPE
#endif
#endif

#include HAL_PATH(../../HAL, tft/xpt2046.h)
Expand Down

0 comments on commit 8510585

Please sign in to comment.