1
0
Fork 0

Cabin-fans

This commit is contained in:
Jonathan Redpath 2022-02-14 09:05:38 +00:00
parent cd3e092a18
commit 40dc5082e7
3 changed files with 3 additions and 4 deletions

View file

@ -5606,7 +5606,7 @@
</greater-than-equals>
</condition>
<command>property-toggle</command>
<property>controls/switches/pneumatics/cabin-fans</property>
<property>controls/pneumatics/switches/cabin-fans</property>
</binding>
<binding>
<command>nasal</command>
@ -5621,7 +5621,7 @@
<condition>
<or>
<equals>
<property>controls/switches/pneumatics/cabin-fans</property>
<property>controls/pneumatics/switches/cabin-fans</property>
<value>0</value>
</equals>
<equals>

View file

@ -31,7 +31,6 @@ var variousReset = func() {
setprop("/controls/CVR/tone", 0);
setprop("/controls/CVR/gndctl", 0);
setprop("/controls/CVR/erase", 0);
setprop("/controls/switches/pneumatics/cabin-fans", 1);
setprop("/controls/switches/emerCallLtO", 0); # ON light, flashes white for 10s
setprop("/controls/switches/emerCallLtC", 0); # CALL light, flashes amber for 10s
setprop("/controls/switches/emerCall", 0);

View file

@ -769,7 +769,7 @@
<switch name="/systems/air-conditioning/recirc/cabin-fans">
<default value="0"/>
<test logic="AND" value="1">
/controls/switches/pneumatics/cabin-fans eq 1
/controls/pneumatics/switches/cabin-fans eq 1
/systems/failures/pneumatics/cabin-fans eq 0
</test>
</switch>