mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[build] Upgrade CI to clang-format 10.0 (#1961)
MacOS no longer ships 6.0, and Arch Linux's mesa GPU drivers are no longer compatible with LLVM 6.0.
This commit is contained in:
@@ -130,11 +130,11 @@ void DutyCycleEncoder::SetConnectedFrequencyThreshold(int frequency) {
|
||||
|
||||
void DutyCycleEncoder::InitSendable(SendableBuilder& builder) {
|
||||
builder.SetSmartDashboardType("AbsoluteEncoder");
|
||||
builder.AddDoubleProperty("Distance", [this] { return this->GetDistance(); },
|
||||
nullptr);
|
||||
builder.AddDoubleProperty("Distance Per Rotation",
|
||||
[this] { return this->GetDistancePerRotation(); },
|
||||
nullptr);
|
||||
builder.AddDoubleProperty("Is Connected",
|
||||
[this] { return this->IsConnected(); }, nullptr);
|
||||
builder.AddDoubleProperty(
|
||||
"Distance", [this] { return this->GetDistance(); }, nullptr);
|
||||
builder.AddDoubleProperty(
|
||||
"Distance Per Rotation",
|
||||
[this] { return this->GetDistancePerRotation(); }, nullptr);
|
||||
builder.AddDoubleProperty(
|
||||
"Is Connected", [this] { return this->IsConnected(); }, nullptr);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user