Skip to content

Suggest to #define FASTLED_RMT_BUILTIN_DRIVER 1 - #654

Merged
focalintent merged 1 commit into
FastLED:masterfrom
johannesmaibaum:patch-1
Sep 20, 2018
Merged

focalintent merged 1 commit into
FastLED:masterfrom
johannesmaibaum:patch-1

Conversation

@johannesmaibaum

Copy link
Copy Markdown
Contributor

The documentation for FASTLED_RMT_BUILTIN_DRIVER says that you should

#define FASTLED_RMT_BUILTIN_DRIVER

before #includeing FastLED if you have custom RMT applications running.
Without any non-zero value, this results in the following compile error:

/path/to/Arduino/libraries/FastLED/platforms/esp/32/clockless_esp32.h: In member function 'void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::initRMT()':
/path/to/Arduino/libraries/FastLED/platforms/esp/32/clockless_esp32.h:253:43: error: expected primary-expression before ')' token
         if (FASTLED_RMT_BUILTIN_DRIVER) {
                                       ^

The documentation for FASTLED_RMT_BUILTIN_DRIVER says that you should

    #define FASTLED_RMT_BUILTIN_DRIVER

before `#include`ing FastLED if you have custom RMT applications running.
Without any non-zero value, this results in the following compile error:

    /path/to/Arduino/libraries/FastLED/platforms/esp/32/clockless_esp32.h: In member function 'void ClocklessController<DATA_PIN, T1, T2, T3, RGB_ORDER, XTRA0, FLIP, WAIT_TIME>::initRMT()':
    /path/to/Arduino/libraries/FastLED/platforms/esp/32/clockless_esp32.h:253:43: error: expected primary-expression before ')' token
             if (FASTLED_RMT_BUILTIN_DRIVER) {
                                           ^
@focalintent
focalintent merged commit 1463ed5 into FastLED:master Sep 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants