silly mistake
This commit is contained in:
parent
257ba10abe
commit
e1c8698be3
@ -93,7 +93,7 @@ func startCacheService(t *TH7Adapter) {
|
|||||||
cjc_uv = 0.0
|
cjc_uv = 0.0
|
||||||
}
|
}
|
||||||
|
|
||||||
data[k].Value -= cjc_uv
|
data[k].Value += cjc_uv
|
||||||
|
|
||||||
}
|
}
|
||||||
// CJC can not be applied
|
// CJC can not be applied
|
||||||
@ -123,6 +123,12 @@ func startCacheService(t *TH7Adapter) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// temp conv if any is applied ... add offset
|
||||||
|
// offset is specified in the same temperature unit
|
||||||
|
// as is specified for the channel
|
||||||
|
// ie if unit = F then the offset counts in unit F also.
|
||||||
|
data[k].Value += t.cfg.Channels[k].Offset
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user