Skip to content

Commit

Permalink
Fix FastLED#811 and FastLED#812 - took a bad PR that broke the build …
Browse files Browse the repository at this point in the history
…for other platforms
  • Loading branch information
Daniel Garcia committed Jun 7, 2019
1 parent 0cea6c8 commit cf8ce86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chipsets.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit cf8ce86

Please sign in to comment.