Closed pat1 closed 8 months ago
in function init_sensors the driver and type of sensor is defined at compile time and i2c address in configuration and eeprom. Will be better put SENSOR_DRIVER_I2C and SENSOR_TYPE in configuration saved on EEPROM
SensorDriver::createAndSetup(configuration.temperature_sensor_driver, configuration.sensor_temperature_type, configuration.i2c_temperature_address, 1, sensors, &sensors_count)
in function init_sensors the driver and type of sensor is defined at compile time and i2c address in configuration and eeprom. Will be better put SENSOR_DRIVER_I2C and SENSOR_TYPE in configuration saved on EEPROM
SensorDriver::createAndSetup(configuration.temperature_sensor_driver, configuration.sensor_temperature_type, configuration.i2c_temperature_address, 1, sensors, &sensors_count)