FastLED 3.10.6
Loading...
Searching...
No Matches

◆ FASTLED_REGISTER

#define FASTLED_REGISTER   register

Helper macro to replace the deprecated 'register' keyword if we're using modern C++ where it's been removed entirely.

Each file that uses FASTLED_REGISTER should wrap its contents with: FL_DISABLE_WARNING_PUSH FL_DISABLE_WARNING_DEPRECATED_REGISTER ... code using FASTLED_REGISTER ... FL_DISABLE_WARNING_POP

Definition at line 888 of file compiler_control.h.

Referenced by DATA_NOP::adjust(), LPD8806Controller< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED >::LPD8806_ADJUST::adjust(), FL_DISABLE_WARNING(), LPD6803Controller< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED >::showPixels(), REFHardwareSPIOutput< _DATA_PIN, _CLOCK_PIN, _SPI_CLOCK_DIVIDER >::writeBytes(), and P9813Controller< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED >::writeLed().