基于SOC开发流程的的通用SDK框架,目前服务器OTA这块还没搭建好,但不影响功能开发,OTA目前可以用蓝牙直连OTA的方式进行升级
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#ifndef INDEX_H
|
||||
#define INDEX_H
|
||||
|
||||
|
||||
#include "typedef.h"
|
||||
|
||||
|
||||
#define TABLE(t) t, ARRAY_SIZE(t)
|
||||
|
||||
|
||||
int index_of_table8(u8 value, const u8 *table, int table_size);
|
||||
|
||||
int index_of_table16(u16 value, const u16 *table, int table_size);
|
||||
|
||||
int index_of_table32(u32 value, const u32 *table, int table_size);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user