mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
artf4107: Uniform initialization syntax introduced
Change-Id: I452b4794d757a0817589ec62b75eda7fbdd74904
This commit is contained in:
@@ -31,7 +31,6 @@ constexpr float Gyro::kDefaultVoltsPerDegreePerSecond;
|
||||
* rest before the competition starts.
|
||||
*/
|
||||
void Gyro::InitGyro() {
|
||||
m_table = nullptr;
|
||||
if (!m_analog->IsAccumulatorChannel()) {
|
||||
wpi_setWPIErrorWithContext(ParameterOutOfRange,
|
||||
" channel (must be accumulator channel)");
|
||||
|
||||
Reference in New Issue
Block a user