pru: The TMR_CNT is cleared by writing all ones
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
72d0c770d3
commit
d1eefba453
|
@ -105,7 +105,7 @@ timer_init(void)
|
||||||
{
|
{
|
||||||
CT_IEP.TMR_CMP_CFG = 0x01 << 1;
|
CT_IEP.TMR_CMP_CFG = 0x01 << 1;
|
||||||
CT_IEP.TMR_GLB_CFG = 0x11;
|
CT_IEP.TMR_GLB_CFG = 0x11;
|
||||||
CT_IEP.TMR_CNT = 0;
|
CT_IEP.TMR_CNT = 0xffffffff;
|
||||||
timer_kick();
|
timer_kick();
|
||||||
}
|
}
|
||||||
DECL_INIT(timer_init);
|
DECL_INIT(timer_init);
|
||||||
|
|
Loading…
Reference in New Issue