Skip to content

Commit 6c4ed09

Browse files
committed
drivers: pwm: Fix priority handling for Renesas RA
Fixed a typo causing interrupt priority from DT to be ignored. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
1 parent 741c5b5 commit 6c4ed09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pwm/pwm_renesas_ra.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ static int pwm_renesas_ra_enable_capture(const struct device *dev, uint32_t pin)
358358
}
359359

360360
/* Enable interruption */
361-
enable_irq(data->fsp_cfg.cycle_end_irq, data->fsp_cfg.cycle_end_irq, &data->fsp_ctrl);
361+
enable_irq(data->fsp_cfg.cycle_end_irq, data->fsp_cfg.cycle_end_ipl, &data->fsp_ctrl);
362362
enable_irq(data->extend_cfg.capture_a_irq, data->extend_cfg.capture_a_ipl, &data->fsp_ctrl);
363363

364364
R_ICU->IELSR[data->fsp_cfg.cycle_end_irq] = (elc_event_t)data->overflow_event;

0 commit comments

Comments
 (0)