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:
@@ -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) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user