mirror of
https://gitee.com/dlmu-cone/tronone-h7-scaffold
synced 2026-07-24 19:37:45 +08:00
closed fucking IWDG and SPI WS2812 is running
This commit is contained in:
@@ -23,7 +23,6 @@
|
||||
#include "crc.h"
|
||||
#include "dma.h"
|
||||
#include "fdcan.h"
|
||||
#include "iwdg.h"
|
||||
#include "spi.h"
|
||||
#include "tim.h"
|
||||
#include "usart.h"
|
||||
@@ -126,7 +125,6 @@ int main(void)
|
||||
MX_SPI1_Init();
|
||||
MX_UART5_Init();
|
||||
MX_TIM3_Init();
|
||||
MX_IWDG1_Init();
|
||||
MX_SPI6_Init();
|
||||
/* USER CODE BEGIN 2 */
|
||||
|
||||
@@ -175,11 +173,10 @@ void SystemClock_Config(void)
|
||||
* in the RCC_OscInitTypeDef structure.
|
||||
*/
|
||||
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI48|RCC_OSCILLATORTYPE_HSI
|
||||
|RCC_OSCILLATORTYPE_LSI|RCC_OSCILLATORTYPE_HSE;
|
||||
|RCC_OSCILLATORTYPE_HSE;
|
||||
RCC_OscInitStruct.HSEState = RCC_HSE_ON;
|
||||
RCC_OscInitStruct.HSIState = RCC_HSI_DIV1;
|
||||
RCC_OscInitStruct.HSICalibrationValue = 64;
|
||||
RCC_OscInitStruct.LSIState = RCC_LSI_ON;
|
||||
RCC_OscInitStruct.HSI48State = RCC_HSI48_ON;
|
||||
RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
|
||||
RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSE;
|
||||
|
||||
Reference in New Issue
Block a user