mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
artf4107: Uniform initialization syntax introduced
Change-Id: I452b4794d757a0817589ec62b75eda7fbdd74904
This commit is contained in:
@@ -66,7 +66,6 @@ void Ultrasonic::UltrasonicChecker() {
|
||||
* restored.
|
||||
*/
|
||||
void Ultrasonic::Initialize() {
|
||||
m_table = nullptr;
|
||||
bool originalMode = m_automaticEnabled;
|
||||
if (m_semaphore == nullptr) m_semaphore = initializeSemaphore(SEMAPHORE_FULL);
|
||||
SetAutomaticMode(false); // kill task when adding a new sensor
|
||||
|
||||
Reference in New Issue
Block a user