添加STAwifi模式以及修改灯状态
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
#include "device.h"
|
||||
#include "../led_strip/led_strip.h"
|
||||
|
||||
#include "key.h"
|
||||
typedef struct
|
||||
{
|
||||
device_t device;
|
||||
@@ -36,6 +36,12 @@ void sertrf_status(void);
|
||||
void embedded_thread(void* arg);
|
||||
/**
|
||||
* @brief 根据连接状态显示不同的颜色
|
||||
*
|
||||
* @param connect 连接状态
|
||||
*/
|
||||
void pc_link_rgb_color(uint8_t connect);
|
||||
void pc_link_rgb_color(device_t* device);
|
||||
/**
|
||||
* @brief 打印时间间隔
|
||||
*/
|
||||
void printf_chill_time(uint8_t chill_time, uint16_t type);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user