remove unused flags

pull/31676/head
Shane Smiskol 1 year ago
parent 1761c40501
commit d344b02d62
  1. 5
      selfdrive/car/honda/values.py

@ -59,8 +59,6 @@ class HondaFlags(IntFlag):
NIDEC_ALT_PCM_ACCEL = 32
NIDEC_ALT_SCM_MESSAGES = 64
AUTORESUME_SNG = 128
ELECTRIC_PARKING_BRAKE = 256
# Car button codes
class CruiseButtons:
@ -102,7 +100,7 @@ class Footnote(Enum):
class HondaBoschPlatformConfig(PlatformConfig):
def init(self):
self.flags |= HondaFlags.BOSCH | HondaFlags.AUTORESUME_SNG | HondaFlags.ELECTRIC_PARKING_BRAKE
self.flags |= HondaFlags.BOSCH
class HondaNidecPlatformConfig(PlatformConfig):
@ -274,7 +272,6 @@ class CAR(Platforms):
HondaCarInfo("Honda Civic 2016-18", min_steer_speed=12. * CV.MPH_TO_MS, video_link="https://youtu.be/-IkImTe1NYE"),
CarSpecs(mass=1326, wheelbase=2.70, centerToFrontRatio=0.4, steerRatio=15.38), # 10.93 is end-to-end spec
dbc_dict('honda_civic_touring_2016_can_generated', 'acura_ilx_2016_nidec'),
flags=HondaFlags.AUTORESUME_SNG | HondaFlags.ELECTRIC_PARKING_BRAKE,
)

Loading…
Cancel
Save