From 96b80dfd283e1403315e11f7933c5ec106270031 Mon Sep 17 00:00:00 2001 From: biver Date: Sat, 4 Dec 2021 23:50:49 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B2=D0=B5=D0=BB=D0=B8=D1=87=D0=B8?= =?UTF-8?q?=D0=B2=D0=B0=D0=B5=D0=BC=20=D0=BC=D0=B0=D0=BA=D0=B8=D0=BC=D0=B0?= =?UTF-8?q?=D0=BB=D1=8C=D0=BD=D0=BE=D0=B5=20=D0=BA=D0=BE=D0=BB=D0=B8=D1=87?= =?UTF-8?q?=D0=B5=D1=81=D1=82=D0=B2=D0=BE=20=D0=B2=D0=BE=D0=B7=D0=BC=D0=BE?= =?UTF-8?q?=D0=B6=D0=BD=D1=8B=D1=85=20=D0=BA=D0=BD=D0=BE=D0=BF=D0=BE=D0=BA?= =?UTF-8?q?=20=D0=B4=D0=BE=208=20=D0=B4=D0=BB=D1=8F=20ESP32?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/Consts.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/Consts.h b/include/Consts.h index aa914156..03079840 100644 --- a/include/Consts.h +++ b/include/Consts.h @@ -46,7 +46,13 @@ #define MYSENSORS #endif +#ifndef esp32_4mb #define NUM_BUTTONS 6 +#endif +#ifdef esp32_4mb +#define NUM_BUTTONS 8 +#endif + #define MQTT_RECONNECT_INTERVAL 20000 #define CHANGE_BROKER_AFTER 5 #define TELEMETRY_UPDATE_INTERVAL_MIN 60