timer loop in adc.c
Opened this issue · 0 comments
4var1 commented
Another one for when I've finished playing with mspider's changes:
adc calibration timers may not wait as expected if startup times are long:
ui16_counter = TIM3_GetCounter() + 6000;
while(TIM3_GetCounter() < ui16_counter) ;
works ok if initial timer values are < (65535-6000) - values above that the loop won't wait at all...