fix(rumble): don't perma-enable :)
All checks were successful
Publish nightly release / build (push) Successful in 1m18s
All checks were successful
Publish nightly release / build (push) Successful in 1m18s
This commit is contained in:
parent
bf73aa6f23
commit
b0746c538f
1 changed files with 2 additions and 2 deletions
|
@ -437,9 +437,9 @@ pub async fn rumble_task(
|
|||
pwm_ch_brake: PWM_CH6,
|
||||
) {
|
||||
let mut rumble_config: embassy_rp::pwm::Config = Default::default();
|
||||
rumble_config.top = 0;
|
||||
rumble_config.top = 255;
|
||||
rumble_config.enable = true;
|
||||
rumble_config.compare_b = 255;
|
||||
rumble_config.compare_b = 0;
|
||||
|
||||
let mut brake_config = rumble_config.clone();
|
||||
brake_config.compare_b = 255;
|
||||
|
|
Loading…
Reference in a new issue