mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[wpilibc] Errors: Use fmtlib
This commit is contained in:
@@ -93,8 +93,8 @@ void MotorSafety::Check() {
|
||||
wpi::SmallString<128> buf;
|
||||
wpi::raw_svector_ostream desc(buf);
|
||||
GetDescription(desc);
|
||||
desc << "... Output not updated often enough.";
|
||||
FRC_ReportError(err::Timeout, desc.str());
|
||||
FRC_ReportError(err::Timeout, "{}... Output not updated often enough",
|
||||
desc.str());
|
||||
StopMotor();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user