From 2662a7ab0d76a2761a5f30371aa0004ca83baef2 Mon Sep 17 00:00:00 2001 From: Fredric Silberberg Date: Tue, 12 Jan 2016 16:27:34 -0500 Subject: [PATCH] Initialized the m_sensors variable to fix artf4798. Change-Id: Iab7b76c0e36b3a8e5ab764f7dcd6772a2058bd0f --- wpilibc/Athena/src/Ultrasonic.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/wpilibc/Athena/src/Ultrasonic.cpp b/wpilibc/Athena/src/Ultrasonic.cpp index f6c99d86db..183e1ce1f9 100644 --- a/wpilibc/Athena/src/Ultrasonic.cpp +++ b/wpilibc/Athena/src/Ultrasonic.cpp @@ -25,6 +25,7 @@ constexpr double Ultrasonic::kSpeedOfSoundInchesPerSec; Task Ultrasonic::m_task; // automatic round robin mode std::atomic Ultrasonic::m_automaticEnabled{false}; +std::set Ultrasonic::m_sensors; /** * Background task that goes through the list of ultrasonic sensors and pings