mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 04:00:28 +01:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user