将收发分为俩个线程,并修复闪红灯问题

This commit is contained in:
OPTOC
2025-09-05 15:26:57 +08:00
parent bd9ffa3de2
commit 25b994cb65
2 changed files with 23 additions and 4 deletions

View File

@@ -4,11 +4,12 @@
#include "../led_strip/led_strip.h"
#include "key.h"
#include "protocol/p_protocol.h"
#include "protocol/kuyi_protl.h"
typedef struct
{
device_t device;
os_thread_t embedded_thread;
os_thread_t pc_thread;
os_thread_t task_thread;
}sertrf_t;