]> oss.titaniummirror.com Git - rgblamp.git/blobdiff - rgb.h
These changes save 685 code words
[rgblamp.git] / rgb.h
diff --git a/rgb.h b/rgb.h
index d24b41bf34cd3a389cb62b6865551911009608d5..05a061c823c3922cfa72bab0139164afc0ab27b0 100644 (file)
--- a/rgb.h
+++ b/rgb.h
@@ -14,7 +14,7 @@
 void rgb_init();
 
 /* Turn on the rgb.  Outputs are zero, or last values set by rgb_set(). */
-#define rgb_on() do { TMR2ON = 1; } while (0)
+#define rgb_on() (TMR2ON = 1)
 
 /* Turn off the rgb, first setting outputs to zero. */
 void rgb_off();