[hal] Fix RoboRIO notifier never starting (#2611)

This commit is contained in:
Thad House
2020-07-23 18:09:00 -07:00
committed by GitHub
parent 1fee190fd0
commit a6a71f8c76

View File

@@ -138,6 +138,7 @@ HAL_NotifierHandle HAL_InitializeNotifier(int32_t* status) {
if (notifierRefCount.fetch_add(1) == 0) {
std::scoped_lock lock(notifierMutex);
notifierRunning = true;
notifierThread = std::thread(notifierThreadMain);
notifierAlarm.reset(tAlarm::create(status));
}