From cda8bd5437bdcfb0918186352e19011960f05de6 Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Sun, 20 Mar 2022 19:51:51 +0000 Subject: x1000: bootloader: set touchscreen to button mode The touchscreen "buttons" are used for screenshots on the Q1. Change-Id: I6bff00976c614d203986e810e51f859e78e372ab --- bootloader/x1000/main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bootloader/x1000/main.c') 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) i2c_init(); power_init(); button_init(); +#ifdef HAVE_TOUCHSCREEN + touchscreen_set_mode(TOUCHSCREEN_BUTTON); +#endif enable_irq(); if(storage_init() < 0) { -- cgit v1.2.3