添加根据不同连接状态显示不同颜色
This commit is contained in:
@@ -1,6 +1,15 @@
|
||||
#include "device.h"
|
||||
#include "config/board_config.h"
|
||||
|
||||
/**
|
||||
* @brief PC OR 手机数据内部接口
|
||||
*
|
||||
* @param port 由对应的驱动提供的绑定接口获得的句柄
|
||||
* @param type 对应的数据接口类型
|
||||
* @retval 0 成功
|
||||
*/
|
||||
static uint8_t pc_device_choice_inside(device_t *port, uint8_t type, uint8_t connect);
|
||||
|
||||
uint8_t device_init(device_t *port)
|
||||
{
|
||||
uint8_t res = DEVICE_OK;
|
||||
|
||||
Reference in New Issue
Block a user