add log.c

This commit is contained in:
NeoZng
2022-11-11 21:20:58 +08:00
parent a1509ee665
commit ebb33406bb
15 changed files with 3824 additions and 9 deletions

View File

@@ -13,7 +13,7 @@
/* usart service instance, modules' info would be recoreded here using USARTRegister() */
/* usart服务实例,所有注册了usart的模块信息会被保存在这里 */
static usart_instance *instance[DEVICE_USART_CNT]={NULL};
static usart_instance *instance[DEVICE_USART_CNT] = {NULL};
/**
* @brief usart service will start automatically, after each module registered