diff --git a/wpilibc/athena/src/DriverStation.cpp b/wpilibc/athena/src/DriverStation.cpp index 5c50f48ecd..dd2766b08c 100644 --- a/wpilibc/athena/src/DriverStation.cpp +++ b/wpilibc/athena/src/DriverStation.cpp @@ -15,16 +15,8 @@ #include "Utility.h" #include "WPIErrors.h" -// set the logging level -TLogLevel dsLogLevel = logDEBUG; const double JOYSTICK_UNPLUGGED_MESSAGE_INTERVAL = 1.0; -#define DS_LOG(level) \ - if (level > dsLogLevel) \ - ; \ - else \ - Log().Get(level) - const uint32_t DriverStation::kJoystickPorts; /** diff --git a/wpilibc/sim/src/DriverStation.cpp b/wpilibc/sim/src/DriverStation.cpp index 6c14b8e391..72ae7ad45a 100644 --- a/wpilibc/sim/src/DriverStation.cpp +++ b/wpilibc/sim/src/DriverStation.cpp @@ -15,15 +15,6 @@ #include "WPIErrors.h" #include "boost/mem_fn.hpp" -// set the logging level -TLogLevel dsLogLevel = logDEBUG; - -#define DS_LOG(level) \ - if (level > dsLogLevel) \ - ; \ - else \ - Log().Get(level) - const uint32_t DriverStation::kBatteryChannel; const uint32_t DriverStation::kJoystickPorts; const uint32_t DriverStation::kJoystickAxes;