diff options
author | Daniel Garcia <dgarcia@dgarcia.net> | 2019-06-07 20:12:36 +0300 |
---|---|---|
committer | Daniel Garcia <dgarcia@dgarcia.net> | 2019-06-07 20:12:36 +0300 |
commit | cf8ce86553f6a1c4d17db54659ebb607b68191ae (patch) | |
tree | 0041ea56a543ce41cad121da5812d68535aac34c | |
parent | 0cea6c8863f8ef9978923377d476d3510c5830b7 (diff) |
Fix #811 and #812 - took a bad PR that broke the build for other platforms
-rw-r--r-- | chipsets.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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> |