diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2012-02-28 00:00:58 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2012-02-28 00:03:46 +0100 |
commit | 15c69b8bafc3e89e1a825b5bbefef4a97f0001b1 (patch) | |
tree | 3985b9f3c8aa1f1a317e374a783adfa368b150d7 /firmware/target/hosted/ypr0/lcd-ypr0.c | |
parent | 9f48f5f2079a46138489fbf62fa94e0e7368ee1c (diff) |
mkximxboot/fuze+: add power button delay to power on
Only boot to rockbox if the power button is hold sufficiently long.
For consistency, use the same mechanism as the OF:
- read PSWITCH 550000 times
- boot if PSWITCH=1 at least 400000 out of 550000 times
Only apply the delay if Volume Down is not hold,
so that the OF and RB delay don't cumulate.
Change-Id: I1e8a4cd108c56bf784fcf1c320f7a001ef161701
Diffstat (limited to 'firmware/target/hosted/ypr0/lcd-ypr0.c')
0 files changed, 0 insertions, 0 deletions