Skip to content

Commit

Permalink
voted sensors set enabled by default
Browse files Browse the repository at this point in the history
  • Loading branch information
dagar committed Nov 15, 2017
1 parent fabab8a commit aa789f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/sensors/voted_sensors_update.h
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ class VotedSensorsUpdate
last_failover_count(0)
{
for (unsigned i = 0; i < SENSOR_COUNT_MAX; i++) {
enabled[i] = true;
subscription[i] = -1;
priority[i] = 0;
}
Expand Down

0 comments on commit aa789f5

Please sign in to comment.