添加了编译参数提示,完成了bmi088阻塞周期访问版本的实现,添加了zeromalloc

This commit is contained in:
NeoZng
2023-02-04 22:48:53 +08:00
parent 429aa17fa4
commit 144596687c
8 changed files with 274 additions and 53 deletions

View File

@@ -87,6 +87,13 @@ extern uint8_t GlobalDebugMode;
#define VAL_MIN(a, b) ((a) < (b) ? (a) : (b))
#define VAL_MAX(a, b) ((a) > (b) ? (a) : (b))
/**
* @brief 返回一块干净的内存,不过仍然需要强制转换为你需要的类型
*
* @param size 分配大小
* @return void*
*/
void* zero_malloc(size_t size);
//<2F><><EFBFBD>ٿ<EFBFBD><D9BF><EFBFBD>
float Sqrt(float x);