mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
voted sensors set enabled by default
This commit is contained in:
@@ -159,6 +159,7 @@ private:
|
|||||||
last_failover_count(0)
|
last_failover_count(0)
|
||||||
{
|
{
|
||||||
for (unsigned i = 0; i < SENSOR_COUNT_MAX; i++) {
|
for (unsigned i = 0; i < SENSOR_COUNT_MAX; i++) {
|
||||||
|
enabled[i] = true;
|
||||||
subscription[i] = -1;
|
subscription[i] = -1;
|
||||||
priority[i] = 0;
|
priority[i] = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user