Skip to content

Commit

Permalink
in CarParams, use the enum for SafetyModel
Browse files Browse the repository at this point in the history
  • Loading branch information
rbiasini committed Jun 27, 2019
1 parent 809571b commit dc8c0d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions car.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ struct CarParams {

minEnableSpeed @7 :Float32;
minSteerSpeed @8 :Float32;
safetyModel @9 :Int16;
safetyModel @9 :SafetyModel;
safetyParam @10 :Int16;

steerMaxBP @11 :List(Float32);
Expand Down Expand Up @@ -364,7 +364,7 @@ struct CarParams {
}


enum SafetyModels {
enum SafetyModel {
# does NOT match board setting
noOutput @0;
honda @1;
Expand Down

0 comments on commit dc8c0d0

Please sign in to comment.