X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=tmr.h;fp=tmr.h;h=a204ab000675ed0f362c26465e95c3cc010c0d21;hb=82184529ca82b955e227b50ad07837f14619a055;hp=b25e8ad25473b4145f3e971c9d61627e27a5e1a0;hpb=a0556afb8953ae458fb0fe7bcc68bde851f0e630;p=rgblamp.git diff --git a/tmr.h b/tmr.h index b25e8ad..a204ab0 100644 --- a/tmr.h +++ b/tmr.h @@ -99,7 +99,7 @@ void tmr_isr(); #define tmr_cwait(c) \ do { \ unsigned t0 = TMR0; \ - while (TMR0 - t0 <= c); /* cast prevents integral promotion */ \ + while (TMR0 - t0 <= c); \ } while (0) /* Wait for a number of us. This is pretty accurate. */