fix(pkg/sensor): temperature measurement unit
This commit is contained in:
@ -38,7 +38,7 @@ func Start(cnf *config.Configuration, cleanCacheInterval time.Duration, compress
|
||||
childContext, cancel := context.WithCancel(ctx)
|
||||
|
||||
// go sensor.ReadHumiditiesContinuously(cnf.GetHumiditySensors(config.ENABLED), humidityChannel, errorChannel)
|
||||
go sensor.ReadTemperaturesContinuously(childContext, cnf.GetTemperatureSensors(config.ENABLED), round, temperatureChannel, errorChannel)
|
||||
go sensor.ReadTemperaturesContinuously(childContext, cnf.GetTemperatureSensors(config.ENABLED), types.DegreeCelsius, round, temperatureChannel, errorChannel)
|
||||
|
||||
temperatureCache := make([]*types.Temperature, 0)
|
||||
|
||||
|
Reference in New Issue
Block a user