X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=tmr.c;h=aa3f58df722b644e007b1dc98118991827af5354;hb=b1783c6a8eab4b9e72ec2166112aabe87e4e4de5;hp=fec23f925482a4776f7580fcf254a5cacd3f12d7;hpb=65079ad3f1ecdbcfc6c8d35040a818994f8af94f;p=rgblamp.git diff --git a/tmr.c b/tmr.c index fec23f9..aa3f58d 100644 --- a/tmr.c +++ b/tmr.c @@ -13,11 +13,11 @@ #include "bit.h" persistent tmr_time_t _tmr_ticks; +tmr_bitno_t _tmr_on; +tmr_bitno_t _tmr_periodic; +static tmr_bitno_t _tmr_fired; static tmr_time_t _tmr_t0[TMR_COUNT]; static tmr_time_t _tmr_elapsed[TMR_COUNT]; -static tmr_bitno_t _tmr_on; -static tmr_bitno_t _tmr_periodic; -static tmr_bitno_t _tmr_fired; /* Timer0 with 1:256 prescale given Fosc (_XTAL_FREQ). * Timer0 is clocked by Fosc/4.