[wpilibc] Add FRC_ReportWarning (#6681)

This commit is contained in:
Jade
2024-07-28 11:20:08 +08:00
committed by GitHub
parent aba82e6a6c
commit 5dcaa6d671
7 changed files with 24 additions and 15 deletions

View File

@@ -36,7 +36,7 @@ void Tracer::PrintEpochs() {
wpi::raw_svector_ostream os(buf);
PrintEpochs(os);
if (!buf.empty()) {
FRC_ReportError(warn::Warning, "{}", buf.c_str());
FRC_ReportWarning("{}", buf.c_str());
}
}