nrf5: Exclude import of pwm.h in main.c if MICROPY_PY_MACHINE_PWM is not set, as nrf51 does not yet have this module yet.
This commit is contained in:
parent
c389872408
commit
b75cefd383
|
@ -47,7 +47,9 @@
|
|||
#include "nrf.h"
|
||||
#include "pin.h"
|
||||
#include "spi.h"
|
||||
#if MICROPY_PY_MACHINE_PWM
|
||||
#include "pwm.h"
|
||||
#endif
|
||||
#include "timer.h"
|
||||
|
||||
#if (BLUETOOTH_SD == 132)
|
||||
|
|
Loading…
Reference in New Issue