Minor tweaks to allowed options for Subaru 6/7

This commit is contained in:
Josh Stewart 2018-11-23 17:18:37 +11:00
parent 0b0345f06f
commit ab07f54fed
1 changed files with 22 additions and 3 deletions

View File

@ -78,6 +78,25 @@
AUXin14Alias = string, ASCII, 20
AUXin15Alias = string, ASCII, 20
;Define aliases for all the triggers. Naming pattern matches that used in decoders.ino
#define trigger_missingTooth = 0
#define trigger_BasicDistributor = 1
#define trigger_DualWheel = 2
#define trigger_GM7X = 3
#define trigger_4G63 = 4
#define trigger_24X = 5
#define trigger_Jeep2000 = 6
#define trigger_Audi135 = 7
#define trigger_HondaD17 = 8
#define trigger_Miata9905 = 9
#define trigger_MazdaAU = 10
#define trigger_non360 = 11
#define trigger_Nissan360 = 12
#define trigger_Subaru67 = 13
#define trigger_Daihatsu = 14
#define trigger_Harley = 15
#define trigger_ThirtySixMinus222 = 16
[Constants]
@ -1770,8 +1789,8 @@ menuDialog = main
field = "Trigger edge", TrigEdge { TrigPattern != 4 } ;4G63 uses both edges
field = "Secondary trigger edge", TrigEdgeSec, { (TrigPattern == 0 && TrigSpeed == 0) || TrigPattern == 2 || TrigPattern == 9 || TrigPattern == 12 } ;Missing tooth, dual wheel and Miata 9905
field = "Missing Tooth Secondary type" trigPatternSec, { (TrigPattern == 0&& TrigSpeed == 0) }
field = "Trigger Filter", TrigFilter
field = "Re-sync every cycle", useResync, { TrigPattern == 2 || TrigPattern == 4 || TrigPattern == 7 || TrigPattern == 12 || TrigPattern == 9 } ;Dual wheel, 4G63, Audi 135, Nissan 360, Miata 99-05
field = "Trigger Filter", TrigFilter, { TrigPattern != 13 }
field = "Re-sync every cycle", useResync, { TrigPattern == 2 || TrigPattern == 4 || TrigPattern == 7 || TrigPattern == 12 || TrigPattern == 9 || TrigPattern == 13 } ;Dual wheel, 4G63, Audi 135, Nissan 360, Miata 99-05
dialog = sparkSettings,"Spark Settings",4
field = "Ignition load source", ignAlgorithm