diff options
| author | Jeff Epler <jepler@gmail.com> | 2020-03-10 13:12:01 -0500 |
|---|---|---|
| committer | Jeff Epler <jepler@gmail.com> | 2020-04-14 18:24:54 -0500 |
| commit | 09dc46a98480350b157636ffff8b89470f595f6e (patch) | |
| tree | 20632cd868dccaeb89681fc223a828158cb0e9de /ports/atmel-samd/timer_handler.c | |
| parent | a51d4f7a45ba19dfe419bbdd7f744ded50f0c38e (diff) | |
Add Protomatter and FramebufferDisplay
Diffstat (limited to 'ports/atmel-samd/timer_handler.c')
| -rw-r--r-- | ports/atmel-samd/timer_handler.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ports/atmel-samd/timer_handler.c b/ports/atmel-samd/timer_handler.c index 5d6de3093..598fad564 100644 --- a/ports/atmel-samd/timer_handler.c +++ b/ports/atmel-samd/timer_handler.c @@ -33,6 +33,8 @@ #include "shared-module/_pew/PewPew.h" #include "common-hal/frequencyio/FrequencyIn.h" +extern void _PM_IRQ_HANDLER(void); + static uint8_t tc_handler[TC_INST_NUM]; void set_timer_handler(bool is_tc, uint8_t index, uint8_t timer_handler) { @@ -62,6 +64,11 @@ void shared_timer_handler(bool is_tc, uint8_t index) { frequencyin_interrupt_handler(index); #endif break; + case TC_HANDLER_PROTOMATTER: + #if CIRCUITPY_PROTOMATTER + _PM_IRQ_HANDLER(); + #endif + break; default: break; } |
