Ran formatter (#681)

This commit is contained in:
Tyler Veness
2017-10-26 19:28:59 -07:00
committed by Peter Johnson
parent ce4c9edd1f
commit 9945a5b3c6
12 changed files with 12 additions and 12 deletions

View File

@@ -72,7 +72,7 @@ PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 200
PointerAlignment: Left
ReflowComments: true
SortIncludes: true
SortIncludes: false
SpaceAfterCStyleCast: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements

View File

@@ -226,7 +226,7 @@ void SerialHelper::QueryHubPaths(int32_t* status) {
// Using std::string because this is guarenteed to be large
std::string output = "";
std::shared_ptr<FILE> pipe(popen(val.c_str(), "r"), pclose);
std::shared_ptr<std::FILE> pipe(popen(val.c_str(), "r"), pclose);
// Just check the next item on a pipe failure
if (!pipe) continue;
while (!feof(pipe.get())) {

View File

@@ -22,4 +22,4 @@ typedef int halsim_extension_init_func_t(void);
extern "C" {
int HAL_LoadOneExtension(const char* library);
int HAL_LoadExtensions(void);
}
} // extern "C"

View File

@@ -35,5 +35,5 @@ int32_t HALSIM_RegisterI2CWriteCallback(int32_t index,
void HALSIM_CancelI2CWriteCallback(int32_t index, int32_t uid);
#ifdef __cplusplus
}
} // extern "C"
#endif

View File

@@ -48,5 +48,5 @@ void HALSIM_SetSPISetAccumulatorValue(int32_t index, int64_t value);
int64_t HALSIM_GetSPIGetAccumulatorValue(int32_t index);
#ifdef __cplusplus
}
} // extern "C"
#endif

View File

@@ -148,4 +148,4 @@ void HALSIM_CancelI2CWriteCallback(int32_t index, int32_t uid) {
SimI2CData[index].CancelWriteCallback(uid);
}
} // extern c
} // extern "C"

View File

@@ -244,4 +244,4 @@ int64_t HALSIM_GetSPIGetAccumulatorValue(int32_t index) {
return SimSPIData[index].GetAccumulatorValue();
}
} // extern c
} // extern "C"

View File

@@ -13,7 +13,7 @@
namespace frc {
class PIDController;
}
} // namespace frc
/**
* Drive the given distance straight (negative values go backwards).

View File

@@ -13,7 +13,7 @@
namespace frc {
class PIDController;
}
} // namespace frc
/**
* Drive until the robot is the given distance away from the box. Uses a local

View File

@@ -16,7 +16,7 @@
namespace frc {
class Joystick;
}
} // namespace frc
/**
* The DriveTrain subsystem incorporates the sensors and actuators attached to

View File

@@ -17,7 +17,7 @@
namespace frc {
class Joystick;
}
} // namespace frc
/**
* The DriveTrain subsystem controls the robot's chassis and reads in

View File

@@ -11,7 +11,7 @@
namespace frc {
class Joystick;
}
} // namespace frc
class DoubleButton : public frc::Trigger {
public: