mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
Увеличиваем макимальное количество возможных кнопок до 8 для ESP32
This commit is contained in:
@@ -46,7 +46,13 @@
|
|||||||
#define MYSENSORS
|
#define MYSENSORS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef esp32_4mb
|
||||||
#define NUM_BUTTONS 6
|
#define NUM_BUTTONS 6
|
||||||
|
#endif
|
||||||
|
#ifdef esp32_4mb
|
||||||
|
#define NUM_BUTTONS 8
|
||||||
|
#endif
|
||||||
|
|
||||||
#define MQTT_RECONNECT_INTERVAL 20000
|
#define MQTT_RECONNECT_INTERVAL 20000
|
||||||
#define CHANGE_BROKER_AFTER 5
|
#define CHANGE_BROKER_AFTER 5
|
||||||
#define TELEMETRY_UPDATE_INTERVAL_MIN 60
|
#define TELEMETRY_UPDATE_INTERVAL_MIN 60
|
||||||
|
|||||||
Reference in New Issue
Block a user