X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=isr.c;fp=isr.c;h=957fc49ccf107c745c05eef37c7c7d73385d4855;hb=bdb1e0ae6aa9374becf3ae012e30d1f806841e88;hp=8db018f3672723d06a24b8e2799d8cb0cdba7fc1;hpb=929d03b37bea1d8763980f447c5f06582cb16bdf;p=rgblamp.git diff --git a/isr.c b/isr.c index 8db018f..957fc49 100644 --- a/isr.c +++ b/isr.c @@ -7,6 +7,7 @@ #include #include "tmr.h" +#include "tmr32.h" #include "btn.h" #include "task.h" @@ -32,9 +33,8 @@ void interrupt isr() { tmr_isr(); btn_isr(); + tmr32_isr(); - if (tmr_fired(TMR_AUTO_OFFON)) - task_post(TASK_AUTO_OFFON); if (tmr_fired(TMR_FADE)) task_post(TASK_FADE); if (tmr_fired(TMR_INCOLOR))