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 /rbutil/mkimxboot/dualboot.h | |
parent | 9f48f5f2079a46138489fbf62fa94e0e7368ee1c (diff) | |
download | rockbox-15c69b8bafc3e89e1a825b5bbefef4a97f0001b1.tar.gz rockbox-15c69b8bafc3e89e1a825b5bbefef4a97f0001b1.zip |
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 'rbutil/mkimxboot/dualboot.h')
-rw-r--r-- | rbutil/mkimxboot/dualboot.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/mkimxboot/dualboot.h b/rbutil/mkimxboot/dualboot.h index e14f3582a8..b5ccd7c33e 100644 --- a/rbutil/mkimxboot/dualboot.h +++ b/rbutil/mkimxboot/dualboot.h | |||
@@ -1,3 +1,3 @@ | |||
1 | /* Generated by bin2c */ | 1 | /* Generated by bin2c */ |
2 | 2 | ||
3 | extern unsigned char dualboot_fuzeplus[36]; | 3 | extern unsigned char dualboot_fuzeplus[128]; |