Reflowed comments and removed commented out code (#735)

This commit is contained in:
Tyler Veness
2017-11-16 00:33:51 -08:00
committed by Peter Johnson
parent 1e8d18b328
commit c663d7cd16
103 changed files with 784 additions and 778 deletions

View File

@@ -31,19 +31,25 @@ class MotorSafetyHelper : public ErrorBase {
static void CheckMotors();
private:
// the expiration time for this object
// The expiration time for this object
double m_expiration;
// true if motor safety is enabled for this motor
// True if motor safety is enabled for this motor
bool m_enabled;
// the FPGA clock value when this motor has expired
// The FPGA clock value when this motor has expired
double m_stopTime;
// protect accesses to the state for this object
// Protect accesses to the state for this object
mutable wpi::mutex m_syncMutex;
// the object that is using the helper
// The object that is using the helper
MotorSafety* m_safeObject;
// List of all existing MotorSafetyHelper objects.
static std::set<MotorSafetyHelper*> m_helperList;
// protect accesses to the list of helpers
// Protect accesses to the list of helpers
static wpi::mutex m_listMutex;
};