Exemple #1
0
/* Power button event - called from PMIC ISR */
void button_power_event(void)
{
    power_button_update(!mc13783_event_sense(MC13783_ONOFD1_EVENT));
}
/* Power button event - called from PMIC ISR */
void MC13783_EVENT_CB_ONOFD1(void)
{
    power_button_update(!mc13783_event_sense());
}