1 Oct 2004 08:05
linus: firmware/drivers adc.c,1.11,1.12
<cvs <at> labb.contactor.se>
2004-10-01 06:05:24 GMT
2004-10-01 06:05:24 GMT
Update of /cvsroot/rockbox/firmware/drivers
In directory labb.contactor.se:/var/tmp/cvs-serv15881/firmware/drivers
Modified Files:
adc.c
Log Message:
We must sleep 2 ticks to be really sure that all A/D channels have been converted at least once before
returning from adc_init()
Index: adc.c
===================================================================
RCS file: /cvsroot/rockbox/firmware/drivers/adc.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- adc.c 24 Sep 2004 22:26:16 -0000 1.11
+++ adc.c 1 Oct 2004 06:05:22 -0000 1.12
<at> <at> -102,5 +102,5 <at> <at>
tick_add_task(adc_tick);
- sleep(1); /* Ensure valid readings when adc_init returns */
+ sleep(2); /* Ensure valid readings when adc_init returns */
}
_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox-cvs
RSS Feed