File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
bsp/at32/libraries/AT32M412_416_Firmware_Library/cmsis/cm4/device_support Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ void SystemInit (void)
8888 /* reset pllms pllns pllfr pllrcs bits */
8989 CRM -> pllcfg = 0x00033002U ;
9090
91- /* reset clkout[3], hickdiv, clkoutdiv */
91+ /* reset clkout[3], clkoutdiv */
9292 CRM -> misc1 = 0x000F1000 ;
9393
9494 /* disable all interrupts enable and clear pending bits */
@@ -124,7 +124,7 @@ void system_core_clock_update(void)
124124 switch (sclk_source )
125125 {
126126 case CRM_SCLK_HICK :
127- if ((( CRM -> misc1_bit .hick_to_sclk ) != RESET ) && (( CRM -> misc1_bit . hickdiv ) != RESET ) )
127+ if ((CRM -> misc1_bit .hick_to_sclk ) != RESET )
128128 system_core_clock = HICK_VALUE * 6 ;
129129 else
130130 system_core_clock = HICK_VALUE ;
You can’t perform that action at this time.
0 commit comments