Initialized the m_sensors variable to fix artf4798.

Change-Id: Iab7b76c0e36b3a8e5ab764f7dcd6772a2058bd0f
This commit is contained in:
Fredric Silberberg
2016-01-12 16:27:34 -05:00
parent 6b740e87b3
commit 2662a7ab0d

View File

@@ -25,6 +25,7 @@ constexpr double Ultrasonic::kSpeedOfSoundInchesPerSec;
Task Ultrasonic::m_task;
// automatic round robin mode
std::atomic<bool> Ultrasonic::m_automaticEnabled{false};
std::set<Ultrasonic*> Ultrasonic::m_sensors;
/**
* Background task that goes through the list of ultrasonic sensors and pings