aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKing Kévin <kingkevin@cuvoodoo.info>2015-07-23 10:45:15 +0200
committerKing Kévin <kingkevin@cuvoodoo.info>2015-07-23 10:45:15 +0200
commitddb6a24109adaadee5b22d588e85c2c63d286546 (patch)
tree0b59edcc327f3e4d5488e1128a43127c87fe33f4
parent66ca3d26524cf1f4aa7a4dfa60a469f148075ace (diff)
improve output generation
-rw-r--r--firmware/lib/ws2812b.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/lib/ws2812b.c b/firmware/lib/ws2812b.c
index e481730..34c3d18 100644
--- a/firmware/lib/ws2812b.c
+++ b/firmware/lib/ws2812b.c
@@ -169,7 +169,7 @@ void ws2812b_show(void)
uint8_t high = WS2812B_PORT | WS2812B_MASK; // set all WS2812B pins to high
uint8_t low = WS2812B_PORT & ~WS2812B_MASK; // set all WS2812B pins to low
uint8_t * next = color_bits; // a pointer to the next color bit
- uint8_t out = low | *(next++); // the next bit to send
+ uint8_t out = *(next++); // the next bit to send
while (!reset_code); // wait for previous reset code to finish