diff --git a/library.json b/library.json index cbec3d2..5916456 100644 --- a/library.json +++ b/library.json @@ -11,14 +11,14 @@ "type": "git", "url": "https://github.com/lovyan03/M5Stack_TreeView" }, - "dependencies": { + "dependencies": [ { "name": "M5Stack" }, { "name": "M5Stack_OnScreenKeyboard" } - }, + ], "version": "0.2.13", "framework": "arduino", "platforms": "espressif32", diff --git a/src/MenuItem.cpp b/src/MenuItem.cpp index e504c76..a5bd517 100644 --- a/src/MenuItem.cpp +++ b/src/MenuItem.cpp @@ -1,5 +1,7 @@ #include "MenuItem.h" +#ifdef min #undef min +#endif #include #include