mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
iPod Classic: introduce PMU interrupts
PMU interrupts are used to detect USB Vbus, wall adaptor, accessories and holdswitch. A thread is needed to poll the PMU throught I2C, ATM it does nothing but showing the state of the inputs on the HW debug menu, funcionallity for each individual input will be added in next patches. Change-Id: If93bf2044d1052729237a7fd1431c8493e09f1c7
This commit is contained in:
parent
88caf222ed
commit
98bd2231ec
6 changed files with 214 additions and 16 deletions
|
|
@ -207,7 +207,6 @@ void system_init(void)
|
|||
#endif
|
||||
gpio_init();
|
||||
eint_init();
|
||||
pmu_init();
|
||||
dma_init();
|
||||
#ifdef HAVE_SERIAL
|
||||
uart_init();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue