更新參數名

This commit is contained in:
Rick Lan
2019-07-12 09:35:05 +10:00
parent 2b44c2fe3d
commit eef175d247
3 changed files with 6 additions and 4 deletions
+4 -2
View File
@@ -84,8 +84,10 @@ keys = {
"DragonTempDisableSteerOnSignal": [TxType.PERSISTENT],
"DragonDisableLogger": [TxType.PERSISTENT],
"DragonNoctuaMode": [TxType.PERSISTENT],
"DragonUseCachedCar": [TxType.PERSISTENT],
"DragonCachedCar": [TxType.PERSISTENT],
"DragonCacheCar": [TxType.PERSISTENT],
"DragonCachedModel": [TxType.PERSISTENT],
"DragonCachedFP": [TxType.PERSISTENT],
"DragonCachedVIN": [TxType.PERSISTENT],
}
+1 -1
View File
@@ -83,7 +83,7 @@ def fingerprint(logcan, sendcan):
frame = 0
if params.get("DragonUseCachedCar") == "1" and params.get("DragonCachedFP") != "" and params.get("DragonCachedModel") != "":
if params.get("DragonCacheCar") == "1" and params.get("DragonCachedFP") != "" and params.get("DragonCachedModel") != "":
candidate_cars = [params.get("DragonCachedModel")]
finger = params.get("DragonCachedFP")
vin = params.get("DragonCachedVIN")
+1 -1
View File
@@ -12,7 +12,7 @@ default_conf = {
'DragonTempDisableSteerOnSignal': '0',
'DragonDisableLogger': '0',
'DragonNoctuaMode': '0',
'DragonUseCachedCar': '1',
'DragonCacheCar': '1',
'DragonCachedModel': '', # for cache car
'DragonCachedFP': '', # for cache car
'DragonCachedVIN': '', # for cache car