summaryrefslogtreecommitdiffstats
path: root/firmware/export
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2021-08-30 01:23:39 +0100
committerAidan MacDonald <amachronic@protonmail.com>2021-11-21 20:26:20 +0000
commitbff63a4f909770d86b12217e9003a22c54789c7b (patch)
treece426feda1037c6dc3246fea9ad39230b3d73d50 /firmware/export
parent7e428ad190dd8d928fbb1451a7bb81dd4e856258 (diff)
downloadrockbox-bff63a4f909770d86b12217e9003a22c54789c7b.tar.gz
rockbox-bff63a4f909770d86b12217e9003a22c54789c7b.zip
touchscreen: change odd sentinel value for time of last touch
Using tick 0xffff does not make any sense, use -1 instead. Change-Id: Id574eb35418c6713c4fc91ed539aadc42fd29aa5
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/button.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/button.h b/firmware/export/button.h
index 1745947230..3abad2d4f0 100644
--- a/firmware/export/button.h
+++ b/firmware/export/button.h
@@ -107,7 +107,7 @@ int button_apply_acceleration(const unsigned int data);
BUTTON_MULTIMEDIA_FFWD)
#ifdef HAVE_TOUCHSCREEN
-int touchscreen_last_touch(void);
+long touchscreen_last_touch(void);
#if (!defined(BUTTON_TOPLEFT) || !defined(BUTTON_TOPMIDDLE) \
|| !defined(BUTTON_TOPRIGHT) || !defined(BUTTON_MIDLEFT) \