From 7806aa1ae836ed12552eff10f1d2a738b9dfc34f Mon Sep 17 00:00:00 2001 From: Dmitry Borisenko <49808844+DmitryBorisenko33@users.noreply.github.com> Date: Wed, 29 Jul 2020 21:53:32 +0200 Subject: [PATCH] changge --- include/Class/Item.h | 2 +- include/Class/button.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/Class/Item.h b/include/Class/Item.h index e0f9d2da..2cd3fc81 100644 --- a/include/Class/Item.h +++ b/include/Class/Item.h @@ -4,7 +4,7 @@ #include "Global.h" -class Item : public Button { +class Item { protected: String type; diff --git a/include/Class/button.h b/include/Class/button.h index 2c046ee4..e2e2b128 100644 --- a/include/Class/button.h +++ b/include/Class/button.h @@ -5,8 +5,9 @@ #include "Class/Item.h" #include "Global.h" -class Button { +class Button : public Item { public: + Button() : Item() {} void pinModeSet(int pinf) { if (pin != "") {