mirror of
https://github.com/wled/WLED.git
synced 2026-04-25 16:42:44 +00:00
tiny change
This commit is contained in:
@@ -9,9 +9,9 @@
|
||||
#include "NodeStruct.h" // to get generic NODE_TYPE_IDs
|
||||
|
||||
/*
|
||||
* Structure: the Below part uses isolated "#if defined()" instead of a chain of if ... elif ... else
|
||||
* Structure: the below part uses isolated "#if defined()" instead of a chain of if ... elif ... else
|
||||
* so that the constant WLED_BOARD will be set exactly once unless there are conflicting build_flags.
|
||||
* In case that several blocks are active, This causes a compiler error to easily spot the problem
|
||||
* In case that several blocks are active, it causes a compiler error to easily spot the problem
|
||||
* "error: redefinition of 'constexpr const unsigned int WLED_BOARD'"
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user