clang-format

This commit is contained in:
embr 2023-04-26 00:44:29 +02:00
parent 5dc32c9136
commit 8025f0d380

View file

@ -21,10 +21,10 @@ void state_init() {
} }
void state_set_power(uint8_t power) { void state_set_power(uint8_t power) {
if (power > 100) { if (power > 100) {
power = 100; power = 100;
} }
current_power = power; current_power = power;
pwm_set_chan_level(pwm_slice, PWM_CHAN_A, power); pwm_set_chan_level(pwm_slice, PWM_CHAN_A, power);
pwm_set_chan_level(pwm_slice, PWM_CHAN_B, power); pwm_set_chan_level(pwm_slice, PWM_CHAN_B, power);
} }