diff --git a/Input/Event/GoFlight/MFR.xml b/Input/Event/GoFlight/MFR.xml index 3b022e475..da1ca1cf6 100644 --- a/Input/Event/GoFlight/MFR.xml +++ b/Input/Event/GoFlight/MFR.xml @@ -1,7 +1,7 @@ GoFlight MFR - true + false @@ -10,13 +10,14 @@ var activeNode = props.globals.getNode("/input/goflight/mfr/active", 1); var standbyNode = props.globals.getNode("/input/goflight/mfr/standby-mhz", 1); var selectedNode = props.globals.getNode("/input/goflight/mfr/selected-mhz", 1); + var brightnessNode = props.globals.getNode("/input/goflight/mfr/brightness", 8); var updateActive = func(newActive) { activeChannel = newActive; activeNode.setValue(activeChannel); - printlog("info", "Active channel is now:" ~ activeChannel); + printlog("info", "GoFlight MFR: Active channel is now:" ~ activeChannel); var prefix = "/instrumentation/nav[" ~ activeChannel ~ "]/frequencies/"; standbyNode.unalias(); @@ -68,19 +69,13 @@ return formatFrequency(selectedNode.getValue()); } - var ledState = func() - { - if (activeChannel == 1) return chr(0x04); - return chr(0x2); - } - updateActive(0); ]]> - rel-dial + rel-dial-0 property-adjust /input/goflight/mfr/standby-mhz @@ -136,16 +131,10 @@ standbyAlphanumeric - - 7 - /input/goflight/mfr/active - ledState - - + + + display-brightness + + /input/goflight/mfr/brightness + + + Transfer Button button-1