CHG: lowered the timout again, but re-added the spindelay since 14a requires 5ms powerup before entering the idle-state where tag starts to listen.

CHG: fix the ticks compare xx > 1 into  xx >= 1
This commit is contained in:
iceman1001 2016-09-23 23:23:17 +02:00
commit d5bded10e2
2 changed files with 4 additions and 2 deletions

View file

@ -211,5 +211,5 @@ void ResetTicks(){
}
void ResetTimer(AT91PS_TC timer){
timer->TC_CCR = AT91C_TC_CLKEN | AT91C_TC_SWTRG;
while(timer->TC_CV > 1) ;
while(timer->TC_CV >= 1) ;
}