git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11121 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
ed7cdc7018
commit
aa783ae3fd
|
@ -76,7 +76,7 @@ void hal_lld_init(void) {
|
||||||
n = halSPCGetSystemClock() / OSAL_ST_FREQUENCY;
|
n = halSPCGetSystemClock() / OSAL_ST_FREQUENCY;
|
||||||
port_write_spr(22, n); /* Init. DEC register. */
|
port_write_spr(22, n); /* Init. DEC register. */
|
||||||
port_write_spr(54, n); /* Init. DECAR register.*/
|
port_write_spr(54, n); /* Init. DECAR register.*/
|
||||||
n = 0x0440; /* DIE ARE bits. */
|
n = 0x04400000; /* DIE ARE bits. */
|
||||||
port_write_spr(340, n); /* TCR register. */
|
port_write_spr(340, n); /* TCR register. */
|
||||||
|
|
||||||
/* TB counter enabled for debug and measurements.*/
|
/* TB counter enabled for debug and measurements.*/
|
||||||
|
|
Loading…
Reference in New Issue