From a3c5ac8204c58564424d03bb74b0ff0704dfb543 Mon Sep 17 00:00:00 2001 From: Adrian Scillato <35405447+ascillato@users.noreply.github.com> Date: Tue, 16 Mar 2021 12:58:24 -0300 Subject: [PATCH] VL53L0X: Set max number of sensors --- tasmota/tasmota.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tasmota/tasmota.h b/tasmota/tasmota.h index 87e5f01b3..3191036e3 100644 --- a/tasmota/tasmota.h +++ b/tasmota/tasmota.h @@ -83,6 +83,7 @@ const uint8_t MAX_SHUTTER_KEYS = 4; // Max number of shutter keys or but const uint8_t MAX_PCF8574 = 4; // Max number of PCF8574 devices const uint8_t MAX_RULE_SETS = 3; // Max number of rule sets of size 512 characters const uint16_t MAX_RULE_SIZE = 512; // Max number of characters in rules +const uint16_t VL53L0X_MAX_SENSORS = 8; // Max number of VL53L0X sensors #ifdef ESP32 const uint8_t MAX_I2C = 2; // Max number of I2C controllers (ESP32 = 2)