generated from Template/H563ZI-HAL-CMake-Template
新增 DfPlayer 和 CanMv 类,优化 UART 读写方法,更新 CommonCenter 以支持新类实例化
This commit is contained in:
@@ -11,4 +11,8 @@ struct Config {
|
||||
TIM_HandleTypeDef* timer;
|
||||
uint32_t channel;
|
||||
} kCaptureConfig = {{GPIOA, GPIO_PIN_0}, &htim7, TIM_CHANNEL_1};
|
||||
|
||||
static inline UART_HandleTypeDef* kDfPlayerUart = &hcom_uart[COM1];
|
||||
|
||||
static inline UART_HandleTypeDef* kCanMvUart = &hcom_uart[COM1];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user