nrf/drivers/softpwm: Rename init function to softpwm_init0.

This commit is contained in:
Glenn Ruben Bakke 2017-11-25 00:55:03 +01:00 committed by Damien George
parent d76982e382
commit 7c74b7da48
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ static const pwm_events OFF_EVENTS = {
#define active_events MP_STATE_PORT(pwm_active_events)
#define pending_events MP_STATE_PORT(pwm_pending_events)
void softpwm_init(void) {
void softpwm_init0(void) {
active_events = &OFF_EVENTS;
pending_events = NULL;
}

View File

@ -1,7 +1,7 @@
#ifndef __MICROPY_INCLUDED_LIB_PWM_H__
#define __MICROPY_INCLUDED_LIB_PWM_H__
void softpwm_init(void);
void softpwm_init0(void);
void pwm_start(void);
void pwm_stop(void);