Commit 1ef01394a6392e64684c01e75b12d21599d33be2

Authored by Eric Lee
1 parent 3207dff756

Fix PWM bug

Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff

boards/smarcimx8mq/driver_examples/pwm/pwm.c
... ... @@ -16,9 +16,9 @@
16 16 /*******************************************************************************
17 17 * Definitions
18 18 ******************************************************************************/
19   -#define DEMO_PWM_BASEADDR PWM4
20   -#define DEMO_PWM_IRQn PWM4_IRQn
21   -#define DEMO_PWM_IRQHandler PWM4_IRQHandler
  19 +#define DEMO_PWM_BASEADDR PWM3
  20 +#define DEMO_PWM_IRQn PWM3_IRQn
  21 +#define DEMO_PWM_IRQHandler PWM3_IRQHandler
22 22 /*! @brief PWM period value. PWMO (Hz) = PCLK(Hz) / (period +2) */
23 23 #define PWM_PERIOD_VALUE 30
24 24