Skip to content

Commit 5d5ea9a

Browse files
committed
CR changes for PWM of nRF52 part 3.
1 parent 3c93283 commit 5d5ea9a

File tree

1 file changed

+1
-1
lines changed
  • hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832

1 file changed

+1
-1
lines changed

hal/targets/hal/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/pwmout_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
#define MAX_PWM_PERIOD_S ((MAX_PWM_PERIOD_US / 1000000) + 1) // approximations advance
5555

5656

57-
#define PWM_INSTANCE_COUNT (PWM_COUNT) // import from the PWM driver header
57+
#define PWM_INSTANCE_COUNT (PWM_COUNT) // import from the nrf_drv_config.h file
5858

5959
///> instances of nRF52 PWM driver
6060
static const nrf_drv_pwm_t m_pwm_driver[PWM_INSTANCE_COUNT] =

0 commit comments

Comments
 (0)