添加串口操作类
Some checks failed
Build and Upload Artifact / build and upload-artifact (push) Failing after 13s
Some checks failed
Build and Upload Artifact / build and upload-artifact (push) Failing after 13s
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "main.h"
|
||||
#include "memorymap.h"
|
||||
#include "tim.h"
|
||||
#include "gpio.h"
|
||||
|
||||
/* Private includes ----------------------------------------------------------*/
|
||||
@@ -57,7 +58,7 @@ void SystemClock_Config(void);
|
||||
|
||||
/* Private user code ---------------------------------------------------------*/
|
||||
/* USER CODE BEGIN 0 */
|
||||
|
||||
extern void AppStart(void);
|
||||
/* USER CODE END 0 */
|
||||
|
||||
/**
|
||||
@@ -89,6 +90,7 @@ int main(void)
|
||||
|
||||
/* Initialize all configured peripherals */
|
||||
MX_GPIO_Init();
|
||||
MX_TIM7_Init();
|
||||
/* USER CODE BEGIN 2 */
|
||||
|
||||
/* USER CODE END 2 */
|
||||
@@ -114,6 +116,7 @@ int main(void)
|
||||
|
||||
/* Infinite loop */
|
||||
/* USER CODE BEGIN WHILE */
|
||||
AppStart();
|
||||
while (1)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user