添加ota功能函数
This commit is contained in:
@@ -5,12 +5,15 @@
|
||||
#include "key.h"
|
||||
#include "protocol/p_protocol.h"
|
||||
#include "protocol/kuyi_protl.h"
|
||||
#include "ota_u.h"
|
||||
typedef struct
|
||||
{
|
||||
device_t device;
|
||||
os_thread_t embedded_thread;
|
||||
os_thread_t pc_thread;
|
||||
os_thread_t task_thread;
|
||||
|
||||
ota_u_t otau;
|
||||
}sertrf_t;
|
||||
|
||||
/**
|
||||
@@ -37,6 +40,11 @@ void sertrf_status(void);
|
||||
* @brief embedded thread
|
||||
*/
|
||||
void embedded_thread(void* arg);
|
||||
|
||||
/**
|
||||
* @brief pc thread
|
||||
*/
|
||||
void pc_thread(void* arg);
|
||||
/**
|
||||
* @brief task thread
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user