From ddb1c92b2e673d81c8a7dfbbad6411b62cc7c2ec Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Thu, 12 Sep 2024 23:29:13 -0400 Subject: [PATCH] new cereal name --- cereal/custom.capnp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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 + } } }