mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
[hal] Change usage reporting to string-based (#7763)
This commit is contained in:
@@ -20,7 +20,7 @@ class DefaultMathShared : public MathShared {
|
||||
void ReportErrorV(fmt::string_view format, fmt::format_args args) override {}
|
||||
void ReportWarningV(fmt::string_view format, fmt::format_args args) override {
|
||||
}
|
||||
void ReportUsage(MathUsageId id, int count) override {}
|
||||
void ReportUsage(std::string_view resource, std::string_view data) override {}
|
||||
units::second_t GetTimestamp() override {
|
||||
return units::second_t{wpi::Now() * 1.0e-6};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user