solar3s / goregen

golang client for regenbox
GNU General Public License v3.0
9 stars 10 forks source link

fix getVoltage function #27

Closed Chatmetaleux closed 4 years ago

Chatmetaleux commented 4 years ago

fix a bad voltage reading bug if sum var in getVoltage() is not well initialized

rkjdid commented 4 years ago

nice catch, thanks, does the chart look good? re-reading the double average mechanism, seems a bit weird ^^

rkjdid commented 4 years ago

https://github.com/solar3s/goregen/releases/tag/v0.4.2

cheers

Chatmetaleux commented 4 years ago

nice catch, thanks, does the chart look good? re-reading the double average mechanism, seems a bit weird ^^

Yes the chart is ok !