Force FPv2: 2021 Hyundai Sonata N Line

pull/22300/head
sunnyhaibin 2021-09-21 22:46:53 -04:00
parent e203f7c1b7
commit 50351a3d17
1 changed files with 3 additions and 3 deletions

View File

@ -103,9 +103,9 @@ class Controls:
car_recognized = self.CP.carName != 'mock'
controller_available = self.CI.CC is not None and not passive and not self.CP.dashcamOnly
community_feature = self.CP.communityFeature or \
self.CP.fingerprintSource == car.CarParams.FingerprintSource.can
community_feature_disallowed = community_feature and (not community_feature_toggle)
community_feature = False #self.CP.communityFeature or \
# self.CP.fingerprintSource == car.CarParams.FingerprintSource.can
community_feature_disallowed = False #community_feature and (not community_feature_toggle)
self.read_only = not car_recognized or not controller_available or \
self.CP.dashcamOnly or community_feature_disallowed
if self.read_only: