mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[build] Upgrade to wpiformat 2024.33 (#6449)
This upgrades to clang-format and clang-tidy 18.1.1. This has the constructor attribute formatting fix, so we can remove our WPI_DEPRECATED macro.
This commit is contained in:
@@ -41,10 +41,7 @@ double BuiltInAccelerometer::GetZ() {
|
||||
|
||||
void BuiltInAccelerometer::InitSendable(wpi::SendableBuilder& builder) {
|
||||
builder.SetSmartDashboardType("3AxisAccelerometer");
|
||||
builder.AddDoubleProperty(
|
||||
"X", [=, this] { return GetX(); }, nullptr);
|
||||
builder.AddDoubleProperty(
|
||||
"Y", [=, this] { return GetY(); }, nullptr);
|
||||
builder.AddDoubleProperty(
|
||||
"Z", [=, this] { return GetZ(); }, nullptr);
|
||||
builder.AddDoubleProperty("X", [=, this] { return GetX(); }, nullptr);
|
||||
builder.AddDoubleProperty("Y", [=, this] { return GetY(); }, nullptr);
|
||||
builder.AddDoubleProperty("Z", [=, this] { return GetZ(); }, nullptr);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user