Format some file

This commit is contained in:
LZerro 2024-05-27 16:26:24 +08:00 committed by Rbb666
parent 3d6b978ba9
commit 0d2d5e88c7
2 changed files with 6 additions and 6 deletions

View File

@ -806,7 +806,7 @@ void init_cycfg_system(void)
#ifdef CY_CFG_SYSCLK_ILO_ENABLED #ifdef CY_CFG_SYSCLK_ILO_ENABLED
Cy_SysClk_IloInit(); Cy_SysClk_IloInit();
#endif #endif
#ifndef CY_CFG_SYSCLK_IMO_ENABLED #ifndef CY_CFG_SYSCLK_IMO_ENABLED
#error the IMO must be enabled for proper chip operation #error the IMO must be enabled for proper chip operation
#endif #endif
@ -814,7 +814,7 @@ void init_cycfg_system(void)
#ifdef CY_CFG_SYSCLK_MFO_ENABLED #ifdef CY_CFG_SYSCLK_MFO_ENABLED
Cy_SysClk_MfoInit(); Cy_SysClk_MfoInit();
#endif #endif
#ifdef CY_CFG_SYSCLK_CLKMF_ENABLED #ifdef CY_CFG_SYSCLK_CLKMF_ENABLED
Cy_SysClk_ClkMfInit(); Cy_SysClk_ClkMfInit();
#endif #endif
@ -837,7 +837,7 @@ void init_cycfg_system(void)
#endif #endif
Cy_SysClk_ClkHf0Init(); Cy_SysClk_ClkHf0Init();
#ifdef CY_CFG_SYSCLK_CLKFAST_0_ENABLED #ifdef CY_CFG_SYSCLK_CLKFAST_0_ENABLED
Cy_SysClk_ClkFast_0_Init(); Cy_SysClk_ClkFast_0_Init();
#endif #endif

View File

@ -827,7 +827,7 @@ void init_cycfg_system(void)
#if (defined (CY_CFG_PWR_ENABLED) && defined (CY_CFG_SYSCLK_CLKHF1_ENABLED)) #if (defined (CY_CFG_PWR_ENABLED) && defined (CY_CFG_SYSCLK_CLKHF1_ENABLED))
Cy_SysLib_SetWaitStates(false, CY_CFG_SYSCLK_CLKHF1_FREQ_MHZ); Cy_SysLib_SetWaitStates(false, CY_CFG_SYSCLK_CLKHF1_FREQ_MHZ);
#endif #endif
#ifdef CY_CFG_SYSCLK_CLKPATH0_ENABLED #ifdef CY_CFG_SYSCLK_CLKPATH0_ENABLED
Cy_SysClk_ClkPath0Init(); Cy_SysClk_ClkPath0Init();
#endif #endif
@ -837,11 +837,11 @@ void init_cycfg_system(void)
#endif #endif
Cy_SysClk_ClkHf0Init(); Cy_SysClk_ClkHf0Init();
#ifdef CY_CFG_SYSCLK_CLKFAST_0_ENABLED #ifdef CY_CFG_SYSCLK_CLKFAST_0_ENABLED
Cy_SysClk_ClkFast_0_Init(); Cy_SysClk_ClkFast_0_Init();
#endif #endif
#ifdef CY_CFG_SYSCLK_CLKFAST_1_ENABLED #ifdef CY_CFG_SYSCLK_CLKFAST_1_ENABLED
Cy_SysClk_ClkFast_1_Init(); Cy_SysClk_ClkFast_1_Init();
#endif #endif