mirror of
https://github.com/rene-dev/stmbl.git
synced 2026-09-23 07:43:59 +08:00
ramp en fix
This commit is contained in:
+1
-1
@@ -50,7 +50,7 @@ static void rt_func(float period, void *ctx_ptr, hal_pin_inst_t *pin_ptr) {
|
||||
PIN(at_speed) = 0;
|
||||
}
|
||||
|
||||
if(ABS(PIN(vel_cmd)) > 0.1){
|
||||
if(ABS(PIN(vel_cmd)) > 0.01 | ABS(PIN(vel_ext_cmd)) > 0.01){
|
||||
PIN(en_out) = 1;
|
||||
}
|
||||
else{
|
||||
|
||||
Reference in New Issue
Block a user