diff --git a/os/common/ext/SN/SN32F26x/system_SN32F260.c b/os/common/ext/SN/SN32F26x/system_SN32F260.c index 17dfd3f4..bbc74137 100644 --- a/os/common/ext/SN/SN32F26x/system_SN32F260.c +++ b/os/common/ext/SN/SN32F26x/system_SN32F260.c @@ -129,19 +129,6 @@ void SystemCoreClockUpdate (void) /* Get Core Clock Frequency */ } SystemCoreClock /= AHB_prescaler; - - //;;;;;;;;; Need for SN32F260 Begin - if (SystemCoreClock > 24000000) - { - SN_FLASH->LPCTRL = 0x5AFA0005; - } - else //SystemCoreClock <= 24000000 - { - SN_FLASH->LPCTRL = 0x5AFA0000; - } - //;;;;;;;;; Need for SN32F260 End - - //return; } /** @@ -160,7 +147,6 @@ void SystemInit (void) #if SYS0_CLKCFG_VAL == IHRC //IHRC #if (AHB_PRESCALAR == 0 | AHB_PRESCALAR == 1) - SN_FLASH->LPCTRL = 0x5AFA0004; SN_FLASH->LPCTRL = 0x5AFA0005; #else SN_FLASH->LPCTRL = 0x5AFA0000;