fixed initialization of struct

pull/21/head
alanbjohnston 7 years ago committed by GitHub
parent 025e6effb7
commit 87332dc6a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -136,7 +136,7 @@ struct SensorData {
struct SensorData read_sensor_data(struct SensorConfig sensor) {
struct SensorData data = {
.current = NAN,
.voltage = NAN
.voltage = NAN,
.power = NAN };
if (sensor.fd < 0) {

Loading…
Cancel
Save

Powered by TurnKey Linux.