nrf5/hal/timer: Quickfix. Disable IRQ handler if SOFT_PWM is configured to be enabled. Ticker driver has in current driver a seperate IRQ handler for this timer instance.
This commit is contained in:
parent
086d79fbad
commit
6f72e73137
|
@ -39,9 +39,11 @@ void hal_timer_start(uint8_t id) {
|
|||
void hal_timer_stop(uint8_t id) {
|
||||
}
|
||||
|
||||
#if (MICROPY_PY_MACHINE_SOFT_PWM != 1)
|
||||
void TIMER0_IRQHandler(void) {
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
void TIMER1_IRQHandler(void) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue