Fixes to be used as a submodule in other projects

This commit is contained in:
2021-05-31 16:05:44 +02:00
parent 1565347f6f
commit 26c0d4c557
91 changed files with 148 additions and 13594 deletions
+16
View File
@@ -0,0 +1,16 @@
#ifndef __INC_CPP_COMPAT_H
#define __INC_CPP_COMPAT_H
#include "FastLED.h"
#if __cplusplus <= 199711L
#define static_assert(expression, message)
#define constexpr const
#else
// things that we can turn on if we're in a C++11 environment
#endif
#endif