summaryrefslogtreecommitdiff
path: root/firmware/target/coldfire/mpio
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2010-10-22 12:11:58 +0000
committerMarcin Bukat <marcin.bukat@gmail.com>2010-10-22 12:11:58 +0000
commit38edf679f2e64e9c2730b50d8fde15401a14449b (patch)
tree9e0b1a5b6ac697c458dc24fe16a83ac6749178b3 /firmware/target/coldfire/mpio
parentc8dfe0508e176b87594f12a67467d51715f53a54 (diff)
MPIO HD200 - squash long standing bug in bootloader which prevented booting OF if doing coldstart on battery only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28324 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/coldfire/mpio')
-rw-r--r--firmware/target/coldfire/mpio/hd200/adc-hd200.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/coldfire/mpio/hd200/adc-hd200.c b/firmware/target/coldfire/mpio/hd200/adc-hd200.c
index 01b6f531e2..dd160ae0de 100644
--- a/firmware/target/coldfire/mpio/hd200/adc-hd200.c
+++ b/firmware/target/coldfire/mpio/hd200/adc-hd200.c
@@ -91,4 +91,7 @@ void adc_init(void)
/* create tick task which enables ADC interrupt */
tick_add_task(adc_tick);
+
+ /* let the interrupt handler fill readout array */
+ sleep(2);
}