diff options
Diffstat (limited to 'src/ws2812b.c')
-rw-r--r-- | src/ws2812b.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ws2812b.c b/src/ws2812b.c index 3721b23..1dea9f1 100644 --- a/src/ws2812b.c +++ b/src/ws2812b.c @@ -32,7 +32,7 @@ inline static void complie_color_inline( rgb_t color, struct rgb_compiled* out, enum ws2812b_byte_order byte_order) { - if (byte_order == BYTE_ORDER_GBR) { + if (byte_order == BYTE_ORDER_GRB) { uint8_t tmp = color.r; color.r = color.g; color.g = tmp; |