Skip to content
Snippets Groups Projects
Commit 5a855bdb authored by bunnei's avatar bunnei
Browse files

CoreTiming: Initialize static variables at bootup.

parent d3c2f9a4
No related branches found
No related tags found
No related merge requests found
...@@ -160,6 +160,16 @@ void Init() { ...@@ -160,6 +160,16 @@ void Init() {
last_global_time_us = 0; last_global_time_us = 0;
has_ts_events = 0; has_ts_events = 0;
mhz_change_callbacks.clear(); mhz_change_callbacks.clear();
first = nullptr;
ts_first = nullptr;
ts_last = nullptr;
event_pool = nullptr;
event_ts_pool = nullptr;
allocated_ts_events = 0;
advance_callback = nullptr;
} }
void Shutdown() { void Shutdown() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment