Skip to content

Commit

Permalink
fixed landing light animation
Browse files Browse the repository at this point in the history
  • Loading branch information
joeherwig committed Feb 20, 2022
1 parent dd5da9a commit 72da46d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
22 changes: 9 additions & 13 deletions A32nx/LINDA/aircrafts/FBW A320/actions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -787,21 +787,17 @@ function A32nx_OVHD_EXTLT_LAND_R_cycle()
end
end

function A32nx_OVHD_EXTLT_LAND_Both_Pos(pos)
A32nx_OVHD_EXTLT_LAND_L_Pos(pos)
A32nx_OVHD_EXTLT_LAND_R_Pos(pos)
end
function A32nx_OVHD_EXTLT_LAND_Both_retract()
A32nx_OVHD_EXTLT_LAND_L_Pos(2)
A32nx_OVHD_EXTLT_LAND_R_Pos(2)
A32nx_OVHD_EXTLT_LAND_L_retract()
A32nx_OVHD_EXTLT_LAND_R_retract()
end
function A32nx_OVHD_EXTLT_LAND_Both_off()
A32nx_OVHD_EXTLT_LAND_L_Pos(1)
A32nx_OVHD_EXTLT_LAND_R_Pos(1)
A32nx_OVHD_EXTLT_LAND_L_off()
A32nx_OVHD_EXTLT_LAND_R_off()
end
function A32nx_OVHD_EXTLT_LAND_Both_on()
A32nx_OVHD_EXTLT_LAND_L_Pos(0)
A32nx_OVHD_EXTLT_LAND_R_Pos(0)
A32nx_OVHD_EXTLT_LAND_L_on()
A32nx_OVHD_EXTLT_LAND_R_on()
end

function A32nx_OVHD_EXTLT_LAND_Both_toggle()
Expand Down Expand Up @@ -2544,7 +2540,7 @@ function InitVars ()
-- Internal Cockpit Lighting Dimmer values
A32NX_CKPT_INTLT_INTEG = 50
A32NX_CKPT_INTLT_DSPLYS = 50
A32NX_CKPT_INTLT_FLOOD = 50
A32NX_CKPT_INTLT_FLOOD = 50
-- used to control position of DOME light switch
A32NX_Dome = 2 -- = off

Expand All @@ -2563,7 +2559,7 @@ function InitVars ()
auto_brk = 0
AutoDisplay = false -- override automatic display updates (SPD/HDG/ALT/VVS_
DSP_MODE_one ()

EcamTxt = 1
OnVar = 16 -- change this for initial brightness of displays. 0 to 20
--TestCnt = 0
Expand Down Expand Up @@ -3508,4 +3504,4 @@ function setDimmer(offset, value)
else
end
end
end
end
7 changes: 5 additions & 2 deletions A32nx/LINDA/aircrafts/FBW A320/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@
LINDA Module
------------------------------------------------------------------------
Aircraft: FlyByWireSim A32nx
Version: 1.0.1
Version: 1.0.2
Date: 2022-02-20
Author: Joe Herwig / Andrew Gransden
Falk Scherber (0.8.2)
Neil Clements (0.4.4 / 0.6.1)

------------------------------------------------------------------------
1.0.2
° fixed landing light retraction

1.0.1
° Fixed some FCU Display functions.
° added dimmer functions for buttons/encoders (10%, 50%, 90%, inc, dec, reset)
Expand Down Expand Up @@ -125,4 +128,4 @@ Known_issues:
+ MFD 1 Modes
+ MFD 1 Ranges
+ EICAS 2 ECAM Pages
+ ADIRS 1-3 Knobs
+ ADIRS 1-3 Knobs

0 comments on commit 72da46d

Please sign in to comment.