Merge pull request #7009 from atlantiscze/2020_04_17_EPRFix

Fixes supermatter monitoring EPR indicator showing Undefined
This commit is contained in:
Atermonera
2020-04-22 12:46:47 -07:00
committed by VirgoBot
parent 3239a8e172
commit 1e4f5aa80e
2 changed files with 11 additions and 0 deletions

View File

@@ -77,6 +77,7 @@
data["SM_power"] = active.power
data["SM_ambienttemp"] = air.temperature
data["SM_ambientpressure"] = air.return_pressure()
data["SM_EPR"] = active.get_epr()
//data["SM_EPR"] = active.get_epr()
if(air.total_moles)
data["SM_gas_O2"] = round(100*air.gas["oxygen"]/air.total_moles,0.01)