added v and i BUS to zero if no battery

pull/264/head
alanbjohnston 3 years ago committed by GitHub
parent 50ebf224c9
commit 02897ac9fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2406,6 +2406,8 @@ void read_ina219()
} else {
voltage[BAT] = 0.0;
current[BAT] = 0.0;
voltage[BUS] = 0.0;
current[BUS] = 0.0;
}
if (i2c5) {

Loading…
Cancel
Save

Powered by TurnKey Linux.