summaryrefslogtreecommitdiff
path: root/firmware/target/hosted/ypr0/lcd-ypr0.c
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2012-02-28 00:00:58 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2012-02-28 00:03:46 +0100
commit15c69b8bafc3e89e1a825b5bbefef4a97f0001b1 (patch)
tree3985b9f3c8aa1f1a317e374a783adfa368b150d7 /firmware/target/hosted/ypr0/lcd-ypr0.c
parent9f48f5f2079a46138489fbf62fa94e0e7368ee1c (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