We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bf5d9b commit 105a2b8Copy full SHA for 105a2b8
src/rp2_common/hardware_pwm/include/hardware/pwm.h
@@ -773,7 +773,7 @@ static inline uint32_t pwm_get_irq1_status_mask(void) {
773
* \return Bitmask of all PWM interrupts currently set
774
*/
775
static inline uint32_t pwm_irqn_get_status_mask(uint irq_index) {
776
- invalid_params_if(HARDWARE_PWM, irq_index >= NUM_DMA_IRQS);
+ invalid_params_if(HARDWARE_PWM, irq_index >= NUM_PWM_IRQS);
777
return pwm_hw->irq_ctrl[irq_index].ints;
778
}
779
0 commit comments