nrf: Correctly mark PWM unused during reset
This commit is contained in:
parent
faca1ec3bf
commit
fa4b4fa639
@ -108,6 +108,7 @@ STATIC void reset_single_pwmout(uint8_t i) {
|
||||
|
||||
for (int ch = 0; ch < CHANNELS_PER_PWM; ch++) {
|
||||
pwm_seq[i][ch] = (1 << 15); // polarity = 0
|
||||
pwm->PSEL.OUT[ch] = 0xFFFFFFFF; // disconnnect from I/O
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user