mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-03 03:01:44 +00:00
[hal] Change usage reporting to string-based (#7763)
This commit is contained in:
@@ -45,8 +45,8 @@ class WPILIB_DLLEXPORT BangBangController
|
||||
: m_tolerance(tolerance) {
|
||||
if (!std::is_constant_evaluated()) {
|
||||
++instances;
|
||||
wpi::math::MathSharedStore::ReportUsage(
|
||||
wpi::math::MathUsageId::kController_BangBangController, instances);
|
||||
wpi::math::MathSharedStore::ReportUsage("BangBangController",
|
||||
std::to_string(instances));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user