From e6591aa8d8bee9906a2ca8f06175c56e3c40a05b Mon Sep 17 00:00:00 2001 From: Jonathan Redpath <legoboyvdlp@gmail.com> Date: Mon, 10 Jan 2022 17:52:53 +0000 Subject: [PATCH] Global speed protection - change treshold to vary with speedbrake correctly --- Systems/a320-adr.xml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/Systems/a320-adr.xml b/Systems/a320-adr.xml index 58ccfbe0..e550f078 100644 --- a/Systems/a320-adr.xml +++ b/Systems/a320-adr.xml @@ -742,12 +742,17 @@ </function> </fcs_function> - <switch name="/systems/navigation/adr/computation/underspeed-difference"> - <default value="2"/> - <test logic="OR" value="19"> - /controls/flight/speedbrake eq 1.0 - </test> - </switch> + <fcs_function name="/systems/navigation/adr/computation/underspeed-difference"> + <function> + <sum> + <value>2</value> + <product> + <property>/controls/flight/speedbrake</property> + <value>17</value> + </product> + </sum> + </function> + </fcs_function> <fcs_function name="/systems/navigation/adr/computation/underspeed"> <function>