nrf5: Exclude import of pwm.h in modmachine.c if MICROPY_PY_MACHINE_PWM is not set, as nrf51 does not yet have this module yet.
This commit is contained in:
parent
b75cefd383
commit
8e71bcea07
|
@ -39,7 +39,9 @@
|
|||
#include "gccollect.h"
|
||||
#include "pin.h"
|
||||
#include "spi.h"
|
||||
#if MICROPY_PY_MACHINE_PWM
|
||||
#include "pwm.h"
|
||||
#endif
|
||||
|
||||
#define PYB_RESET_HARD (0)
|
||||
#define PYB_RESET_WDT (1)
|
||||
|
|
Loading…
Reference in New Issue