mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-01-22 01:30:35 -05:00
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:
parent
6bc69c797c
commit
cda8bd5437
1 changed files with 3 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue