x1000: bootloader: set touchscreen to button mode

The touchscreen "buttons" are used for screenshots on the Q1.

Change-Id: I6bff00976c614d203986e810e51f859e78e372ab
This commit is contained in:
Aidan MacDonald 2022-03-20 19:51:51 +00:00
parent 6bc69c797c
commit cda8bd5437

View file

@ -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) {