Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FastLED/FastLED.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Garcia <danielgarcia@gmail.com>2016-01-28 01:18:11 +0300
committerDaniel Garcia <danielgarcia@gmail.com>2016-01-28 01:18:11 +0300
commit91d79223c078de8e0c358dce0dfacd2a62e08e11 (patch)
tree612ad733ee8f1b0f05f8d3b833bcc55cbd98e22a
parent1dda878caf6d34206211181b62a8afe445c45c5a (diff)
Fix #253 - kick APA102 default ordering to be consistently RGB
-rw-r--r--chipsets.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chipsets.h b/chipsets.h
index c7da8d15..79a03271 100644
--- a/chipsets.h
+++ b/chipsets.h
@@ -154,7 +154,7 @@ class WS2803Controller : public WS2801Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER,
/// @tparam CLOCK_PIN the clock pin for these leds
/// @tparam RGB_ORDER the RGB ordering for these leds
/// @tparam SPI_SPEED the clock divider used for these leds. Set using the DATA_RATE_MHZ/DATA_RATE_KHZ macros. Defaults to DATA_RATE_MHZ(24)
-template <uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER = BGR, uint8_t SPI_SPEED = DATA_RATE_MHZ(24)>
+template <uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER = RGB, uint8_t SPI_SPEED = DATA_RATE_MHZ(24)>
class APA102Controller : public CPixelLEDController<RGB_ORDER> {
typedef SPIOutput<DATA_PIN, CLOCK_PIN, SPI_SPEED> SPI;
SPI mSPI;