添加STAwifi模式以及修改灯状态

This commit is contained in:
OPTOC
2025-08-28 16:04:01 +08:00
parent 2ab5a97ac3
commit 56c1716726
8 changed files with 230 additions and 54 deletions

View File

@@ -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);