mirror of
https://gitee.com/dlmu-cone/bf_original_balance_chassis
synced 2026-07-24 03:27:45 +08:00
添加了编译参数提示,完成了bmi088阻塞周期访问版本的实现,添加了zeromalloc
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user