extmod/machine_pwm: Remove PWM_INIT and PWM_DUTY_U16_NS config options.

All ports that enable MICROPY_PY_MACHINE_PWM now enable these two
sub-options, so remove these sub-options altogether to force consistency in
new ports that implement machine.PWM.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2023-05-04 12:58:04 +10:00
parent 7952694a3c
commit 38243cd8e0
7 changed files with 0 additions and 22 deletions

View File

@@ -197,9 +197,7 @@
#define MICROPY_PY_MACHINE_SOFT_PWM (0)
#endif
#define MICROPY_PY_MACHINE_PWM_INIT (1)
#define MICROPY_PY_MACHINE_PWM_DUTY (1)
#define MICROPY_PY_MACHINE_PWM_DUTY_U16_NS (1)
#if MICROPY_PY_MACHINE_HW_PWM
#define MICROPY_PY_MACHINE_PWM_INCLUDEFILE "ports/nrf/modules/machine/pwm.c"