mirror of
https://gitee.com/dlmu-cone/bf_original_balance_chassis
synced 2026-07-24 03:27:45 +08:00
增加了一些编译优化,增加了log使用文档,新增部分user_lib功能
This commit is contained in:
@@ -206,3 +206,9 @@ float AverageFilter(float new_data, float *buf, uint8_t len)
|
||||
return sum / len;
|
||||
}
|
||||
|
||||
void MatInit(mat *m, uint8_t row, uint8_t col)
|
||||
{
|
||||
m->numCols = col;
|
||||
m->numRows = row;
|
||||
m->pData = (float *)zmalloc(row * col * sizeof(float));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user