From 21b2aabf1839e8f3bdef19fa50c1fbdb3b898dec Mon Sep 17 00:00:00 2001 From: Tyler Veness Date: Wed, 25 May 2016 20:25:06 -0700 Subject: [PATCH] Removed unused DS_LOG() macro (#61) --- wpilibc/athena/src/DriverStation.cpp | 8 -------- wpilibc/sim/src/DriverStation.cpp | 9 --------- 2 files changed, 17 deletions(-) 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;