One of too many. Cloning the Apps from gh for easy-updates

This commit is contained in:
VerstreuteSeele
2023-01-03 22:02:23 +01:00
parent 72d26d1392
commit cb9676d4d1
13 changed files with 14 additions and 411 deletions

View File

@@ -71,21 +71,8 @@ const Interface ONE_WIRE = {
//Перечень интерфейсов подключения
//static const Interface* interfaces[] = {&SINGLE_WIRE, &I2C, &ONE_WIRE};
//Перечень датчиков
static const SensorType* sensorTypes[] = {
&DHT11,
&DHT12_SW,
&DHT20,
&DHT21,
&DHT22,
&Dallas,
&AM2320_SW,
&AM2320_I2C,
&AHT10,
&SHT30,
&GXHT30,
&LM75,
&BMP280,
&BME280};
static const SensorType* sensorTypes[] =
{&DHT11, &DHT12_SW, &DHT21, &DHT22, &AM2320_SW, &AM2320_I2C, &LM75, &BMP280, &BME280, &Dallas};
const SensorType* unitemp_sensors_getTypeFromInt(uint8_t index) {
if(index > SENSOR_TYPES_COUNT) return NULL;