增加了一些编译优化,增加了log使用文档,新增部分user_lib功能

This commit is contained in:
NeoZng
2023-06-24 20:29:57 +08:00
parent f51b6fec3d
commit 9ef46e2f88
8 changed files with 61 additions and 48 deletions

View File

@@ -36,6 +36,7 @@
/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */
#include "robot.h"
#include "bsp_log.h"
/* USER CODE END Includes */
/* Private typedef -----------------------------------------------------------*/
@@ -120,6 +121,7 @@ int main(void)
MX_DAC_Init();
/* USER CODE BEGIN 2 */
RobotInit(); // 唯一的初始化函数
LOGINFO("[main] SystemInit() and RobotInit() done");
/* USER CODE END 2 */
/* Call init function for freertos objects (in freertos.c) */