diff --git a/README.md b/README.md index 51453d3..d94a003 100644 --- a/README.md +++ b/README.md @@ -255,7 +255,7 @@ Please use only sender OR receiver. ## Embedded Libraries - [ArxContainer v0.3.10](https://github.com/hideakitai/ArxContainer) -- [ArxTypeTraits v0.2.0](https://github.com/hideakitai/ArxTypeTraits) +- [ArxTypeTraits v0.2.1](https://github.com/hideakitai/ArxTypeTraits) - [TeensyDirtySTLErrorSolution v0.1.0](https://github.com/hideakitai/TeensyDirtySTLErrorSolution) diff --git a/util/ArxTypeTraits/ArxTypeTraits/replace_minmax_macros.h b/util/ArxTypeTraits/ArxTypeTraits/replace_minmax_macros.h index 9668ccc..f8ff86e 100644 --- a/util/ArxTypeTraits/ArxTypeTraits/replace_minmax_macros.h +++ b/util/ArxTypeTraits/ArxTypeTraits/replace_minmax_macros.h @@ -6,7 +6,9 @@ // Make sure Arduino.h is actually included, since otherwise it might be // included later and break *uses* of the min/max methods, rather than // the declarations of it. -#include +#ifdef ARDUINO + #include +#endif // These macros are defined by Arduino.h on some platforms, and conflict // with min/max methods defined or included by ArxTypeTraits, so replace diff --git a/util/ArxTypeTraits/README.md b/util/ArxTypeTraits/README.md index a36ee61..7cac740 100644 --- a/util/ArxTypeTraits/README.md +++ b/util/ArxTypeTraits/README.md @@ -103,6 +103,7 @@ C++ type_traits for Arduino which cannot use it as default - [Tween](https://github.com/hideakitai/Tween) - [ArxStringUtils](https://github.com/hideakitai/ArxStringUtils) - [Filters](https://github.com/hideakitai/Filters) +- [Debouncer](https://github.com/hideakitai/Debouncer) ## Contributors diff --git a/util/ArxTypeTraits/library.json b/util/ArxTypeTraits/library.json index 7b853c2..e9ca513 100644 --- a/util/ArxTypeTraits/library.json +++ b/util/ArxTypeTraits/library.json @@ -11,7 +11,7 @@ "url": "https://github.com/hideakitai", "maintainer": true }, - "version": "0.2.0", + "version": "0.2.1", "license": "MIT", "frameworks": "arduino", "platforms": "*" diff --git a/util/ArxTypeTraits/library.properties b/util/ArxTypeTraits/library.properties index e0b2884..27132f6 100644 --- a/util/ArxTypeTraits/library.properties +++ b/util/ArxTypeTraits/library.properties @@ -1,5 +1,5 @@ name=ArxTypeTraits -version=0.2.0 +version=0.2.1 author=hideakitai maintainer=hideakitai sentence=C++ type_traits for Arduino which cannot use it as default