Check if data logger is valid

pull/151/head^2
jackun 2 years ago
parent acfc62a434
commit 61716494c1
No known key found for this signature in database
GPG Key ID: 119DB3F1D05A9ED3

@ -163,7 +163,7 @@ void update_hw_info(const struct overlay_params& params, uint32_t vendorID)
if (graph_data.size() >= kMaxGraphEntries)
graph_data.pop_front();
graph_data.push_back(currentLogData);
logger->notify_data_valid();
if (logger) logger->notify_data_valid();
HUDElements.update_exec();
}

Loading…
Cancel
Save