SCRIPT: wpiformat

This commit is contained in:
PJ Reiniger
2025-11-07 20:01:58 -05:00
committed by Peter Johnson
parent ae6bdc9d25
commit 2109161534
749 changed files with 5504 additions and 3936 deletions

View File

@@ -15,7 +15,8 @@ using namespace wpi;
GenericHID::GenericHID(int port) {
if (port < 0 || port >= DriverStation::kJoystickPorts) {
throw WPILIB_MakeError(warn::BadJoystickIndex, "port {} out of range", port);
throw WPILIB_MakeError(warn::BadJoystickIndex, "port {} out of range",
port);
}
m_port = port;
}