git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4833 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
d090b9342e
commit
4fa5db982c
|
@ -116,6 +116,10 @@ void spc_clock_init(void) {
|
|||
while (!ME.GS.B.S_FIRC)
|
||||
;
|
||||
|
||||
/* Oscillators dividers setup.*/
|
||||
CGM.FIRC_CTL.B.RCDIV = SPC5_IRCDIV_VALUE - 1;
|
||||
CGM.FXOSC_CTL.B.OSCDIV = SPC5_XOSCDIV_VALUE - 1;
|
||||
|
||||
#if !SPC5_NO_INIT
|
||||
|
||||
#if defined(SPC5_OSC_BYPASS)
|
||||
|
|
Loading…
Reference in New Issue