[hal] Change usage reporting to string-based (#7763)

This commit is contained in:
Peter Johnson
2025-02-07 12:37:23 -08:00
committed by GitHub
parent bfff891b5c
commit 764ada9b66
188 changed files with 637 additions and 2298 deletions

View File

@@ -9,7 +9,7 @@
#include <vector>
#include <fmt/format.h>
#include <hal/FRCUsageReporting.h>
#include <hal/UsageReporting.h>
#include <networktables/MultiSubscriber.h>
#include <networktables/NetworkTable.h>
#include <networktables/NetworkTableInstance.h>
@@ -179,5 +179,5 @@ Instance::Instance() {
}
}
});
HAL_Report(HALUsageReporting::kResourceType_Preferences, 0);
HAL_ReportUsage("Preferences", "");
}