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:
Glenn Ruben Bakke 2017-05-17 19:52:09 +02:00 committed by glennrub
parent 086d79fbad
commit 6f72e73137
1 changed files with 2 additions and 0 deletions

View File

@ -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) {