mirror of
https://gitee.com/dlmu-cone/tronone-h7-scaffold
synced 2026-07-24 19:37:45 +08:00
format
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
/* USER CODE BEGIN Includes */
|
||||
|
||||
#include "buzzer.h"
|
||||
#include "delayticks.h"
|
||||
#include "ws2812status.h"
|
||||
|
||||
/* USER CODE END Includes */
|
||||
|
||||
@@ -60,8 +60,11 @@
|
||||
|
||||
/* Private function prototypes -----------------------------------------------*/
|
||||
void SystemClock_Config(void);
|
||||
|
||||
static void MPU_Config(void);
|
||||
|
||||
void MX_FREERTOS_Init(void);
|
||||
|
||||
/* USER CODE BEGIN PFP */
|
||||
|
||||
/* USER CODE END PFP */
|
||||
@@ -131,6 +134,7 @@ int main(void)
|
||||
MX_SPI6_Init();
|
||||
/* USER CODE BEGIN 2 */
|
||||
systemstart_song();
|
||||
|
||||
/* USER CODE END 2 */
|
||||
|
||||
/* Init scheduler */
|
||||
@@ -170,7 +174,9 @@ void SystemClock_Config(void)
|
||||
*/
|
||||
__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE0);
|
||||
|
||||
while(!__HAL_PWR_GET_FLAG(PWR_FLAG_VOSRDY)) {}
|
||||
while (!__HAL_PWR_GET_FLAG(PWR_FLAG_VOSRDY))
|
||||
{
|
||||
}
|
||||
|
||||
/** Initializes the RCC Oscillators according to the specified parameters
|
||||
* in the RCC_OscInitTypeDef structure.
|
||||
|
||||
Reference in New Issue
Block a user