mirror of
https://github.com/rene-dev/stmbl.git
synced 2026-02-05 18:01:21 +08:00
pderiv volatile mems
This commit is contained in:
@@ -8,9 +8,9 @@ HAL_PIN(diff_pos) = 0.0;
|
||||
|
||||
#define vel_buf_size 20
|
||||
|
||||
MEM(float buf[vel_buf_size]);
|
||||
MEM(unsigned int ptr) = 0;
|
||||
MEM(float frt_period) = 0.00005;
|
||||
MEM(volatile float buf[vel_buf_size]);
|
||||
MEM(volatile unsigned int ptr) = 0;
|
||||
MEM(volatile float frt_period) = 0.00005;
|
||||
|
||||
INIT(
|
||||
for(int i = 0; i < vel_buf_size; i++){
|
||||
|
||||
Reference in New Issue
Block a user