From 8300b28b07bc07628d01fd00dadc83484d0b05c8 Mon Sep 17 00:00:00 2001 From: lovyan03 <42724151+lovyan03@users.noreply.github.com> Date: Sat, 27 Jun 2020 22:26:10 +0900 Subject: [PATCH] fix library.json --- library.json | 4 ++-- src/MenuItem.cpp | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) 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