diff options
Diffstat (limited to 'include/touchscreen.h')
-rw-r--r-- | include/touchscreen.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/touchscreen.h b/include/touchscreen.h index 4d48e38d..a6673cbd 100644 --- a/include/touchscreen.h +++ b/include/touchscreen.h @@ -31,6 +31,14 @@ #if GFX_USE_TOUCHSCREEN || defined(__DOXYGEN__) +#ifndef TOUCHSCREEN_STORE_CALIBRATION + #define TOUCHSCREEN_STORE_CALIBRATION FALSE +#endif + +#ifndef TOUCHSCREEN_VERIFY_CALIBRATION + #define TOUCHSCREEN_VERIFY_CALIBRATION FALSE +#endif + /** * @brief specifies how many conversions are made for a readout. * @@ -82,7 +90,7 @@ coord_t tsReadY(void); void tsCalibrate(void); #if TOUCHSCREEN_HAS_IRQ - bool_t tsIRQ(void); + bool_t tsPressed(void); #endif #if TOUCHSCREEN_HAS_PRESSURE |