From 7134c07f60fbeb25bb4d6c5d60728d14bbeaf214 Mon Sep 17 00:00:00 2001 From: Dmitry Borisenko <49808844+DmitryBorisenko33@users.noreply.github.com> Date: Wed, 29 Jul 2020 21:41:12 +0200 Subject: [PATCH] Class --- include/Class/Item.h | 4 ++-- include/Class/button.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/Class/Item.h b/include/Class/Item.h index dce3fe18..1592c314 100644 --- a/include/Class/Item.h +++ b/include/Class/Item.h @@ -4,8 +4,8 @@ #include "Global.h" -class Item { - +class Item : public Item { + protected: String type; String key; diff --git a/include/Class/button.h b/include/Class/button.h index 6d806754..2c046ee4 100644 --- a/include/Class/button.h +++ b/include/Class/button.h @@ -5,7 +5,7 @@ #include "Class/Item.h" #include "Global.h" -class Button : public Item { +class Button { public: void pinModeSet(int pinf) {