nrf5: Adding initialization of timer module if enabled by MICROPY_PY_MACHINE_TIMER.
This commit is contained in:
parent
9c828c7630
commit
e4365fcac4
@ -48,6 +48,7 @@
|
||||
#include "pin.h"
|
||||
#include "spi.h"
|
||||
#include "pwm.h"
|
||||
#include "timer.h"
|
||||
|
||||
#if (BLUETOOTH_SD == 132)
|
||||
#include "nrf52_ble.h"
|
||||
@ -108,6 +109,10 @@ int main(int argc, char **argv) {
|
||||
pwm_init0();
|
||||
#endif
|
||||
|
||||
#if MICROPY_PY_MACHINE_TIMER
|
||||
timer_init0();
|
||||
#endif
|
||||
|
||||
/*
|
||||
extint_init0();
|
||||
timer_init0();
|
||||
|
Loading…
Reference in New Issue
Block a user