diff --git a/cereal/custom.capnp b/cereal/custom.capnp index fafe80fc0e..14b16a6c29 100644 --- a/cereal/custom.capnp +++ b/cereal/custom.capnp @@ -207,21 +207,21 @@ struct CarControlSP @0xb86e6369214c01c8 { customStockLongitudinalControl @0 :List(CustomStockLongitudinalControl); struct CustomStockLongitudinalControl { - state @0 :CustomStockLongitudinalControlState; + state @0 :ButtonControlState; cruiseButton @1 :Int16; finalSpeedKph @2 :Float32; targetSpeed @3 :Float32; vSetDis @4 :Float32; speedDiff @5 :Float32; buttonType @6 :Int16; - } - enum CustomStockLongitudinalControlState { - inactive @0; # No button press or default state - resetting @1; # Resetting to default state - accelerating @2; # Increasing speed - decelerating @3; # Decreasing speed - holding @4; # Holding steady speed + enum ButtonControlState { + inactive @0; # No button press or default state + resetting @1; # Resetting to default state + accelerating @2; # Increasing speed + decelerating @3; # Decreasing speed + holding @4; # Holding steady speed + } } }