将收发分为俩个线程,并修复闪红灯问题
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user