Merge "Don't trigger watchdog when power button is held down"

This commit is contained in:
Gerrit
2012-04-12 15:23:27 -07:00
committed by Gerrit Code Review

View File

@@ -93,6 +93,12 @@ static void wait_for_power_off(void)
TASK_EVENT_TIMER))
return;
}
/*
* Holding down the power button causes this loop to spin
* endlessly, triggering the watchdog. So add a wait here.
*/
task_wait_event(-1);
}
}