Skip to content

Commit 3e01565

Browse files
committed
Set the PWM clock prescaler back to default (1MHz clock)
1 parent e2eb85a commit 3e01565

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/pwmout_api.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,6 @@ static void nordic_pwm_init(pwmout_t *obj)
101101
.step_mode = NRF_PWM_STEP_AUTO,
102102
};
103103

104-
// RF - test slowest prescalar setting (125kHz)
105-
config.base_clock = NRF_PWM_CLK_125kHz;
106-
107104
/* Initialize instance with new configuration. */
108105
ret_code_t result = nrfx_pwm_init(&nordic_nrf5_pwm_instance[obj->instance],
109106
&config,

0 commit comments

Comments
 (0)