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 <dgarcia@dgarcia.net>2019-06-07 20:12:36 +0300
committerDaniel Garcia <dgarcia@dgarcia.net>2019-06-07 20:12:36 +0300
commitcf8ce86553f6a1c4d17db54659ebb607b68191ae (patch)
tree0041ea56a543ce41cad121da5812d68535aac34c
parent0cea6c8863f8ef9978923377d476d3510c5830b7 (diff)
Fix #811 and #812 - took a bad PR that broke the build for other platforms
-rw-r--r--chipsets.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chipsets.h b/chipsets.h
index 5651d280..9941ec8e 100644
--- a/chipsets.h
+++ b/chipsets.h
@@ -521,10 +521,10 @@ template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>
class PL9823Controller : public ClocklessController<DATA_PIN, 3 * FMUL, 8 * FMUL, 3 * FMUL, RGB_ORDER> {};
#else
-
+
// Similar to NS() macro, this calculates the number of cycles for
// the clockless chipset (which may differ from CPU cycles)
-#define C_NS(_NS) (((_NS * ((CLOCKLESS_FREQUENCY / 1000000L) + 999) / 1000)
+#define C_NS(_NS) (_NS * ((CLOCKLESS_FREQUENCY / 1000000L) + 999) / 1000)
// GE8822 - 350ns 660ns 350ns
template <uint8_t DATA_PIN, EOrder RGB_ORDER = RGB>