mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
This actually isn't a large issue, since the HAL automatically creates a notifier at the beginning to handle the time rollover, but during testing without that, I noticed that deleting the last notifier would disable notifiers for the entire lifetime of the program. This seemed to be caused by the CLOSEST_TRIGGER static variable not being reset, and causing new notifiers to never be added to the queue. This fixes that. Not a bug that can be seen normally, but still a bug. Change-Id: I6ac61c632918c90972cd0664aa833e3bc9e8c535
5.1 KiB
5.1 KiB