thread.c: fixed an error with the sleep timing
adc.*: added a status return for ADC_Collect
thread.*: Moved OS_Sleep over to here
os.*: Moved OS_Sleep over to thread.c