summaryrefslogtreecommitdiff
path: root/bootloader
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2022-03-20 19:51:51 +0000
committerAidan MacDonald <amachronic@protonmail.com>2022-03-25 21:36:51 +0000
commitcda8bd5437bdcfb0918186352e19011960f05de6 (patch)
treec7adb7d2584f135bfbfcfc12d3704bd3a78a3fd9 /bootloader
parent6bc69c797c71200046fdb7bd3afd429d1db48d2f (diff)
downloadrockbox-cda8bd5437bdcfb0918186352e19011960f05de6.tar.gz
rockbox-cda8bd5437bdcfb0918186352e19011960f05de6.zip
x1000: bootloader: set touchscreen to button mode
The touchscreen "buttons" are used for screenshots on the Q1. Change-Id: I6bff00976c614d203986e810e51f859e78e372ab
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/x1000/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bootloader/x1000/main.c b/bootloader/x1000/main.c
index 0909a4c72a..4db172b3f0 100644
--- a/bootloader/x1000/main.c
+++ b/bootloader/x1000/main.c
@@ -41,6 +41,9 @@ void main(void)
41 i2c_init(); 41 i2c_init();
42 power_init(); 42 power_init();
43 button_init(); 43 button_init();
44#ifdef HAVE_TOUCHSCREEN
45 touchscreen_set_mode(TOUCHSCREEN_BUTTON);
46#endif
44 enable_irq(); 47 enable_irq();
45 48
46 if(storage_init() < 0) { 49 if(storage_init() < 0) {