Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions hdw-a339x/src/wasm/systems/a320_systems/src/hydraulic/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ impl A330TiltingGearsFactory {
let left_wing_gear = Self::new_a330_wing_gear(context, true);
let right_wing_gear = Self::new_a330_wing_gear(context, false);


A330TiltingGears::new(left_wing_gear, right_wing_gear)
}
}
Expand Down Expand Up @@ -2370,9 +2369,6 @@ impl A320Hydraulic {

self.green_circuit
.update_system_actuator_volumes(self.rudder_mechanical_assembly.green_actuator());

self.yellow_circuit
.update_system_actuator_volumes(self.reversers_assembly.green_actuator());
}

fn update_yellow_actuators_volume(&mut self) {
Expand Down Expand Up @@ -2449,6 +2445,9 @@ impl A320Hydraulic {

self.blue_circuit
.update_system_actuator_volumes(self.right_spoilers.actuator(2));

self.blue_circuit
.update_system_actuator_volumes(self.reversers_assembly.blue_actuator());
}

// All the core hydraulics updates that needs to be done at the slowest fixed step rate
Expand Down Expand Up @@ -2637,7 +2636,7 @@ impl A320Hydraulic {
self.reversers_assembly.update(
context,
&self.engine_reverser_control,
self.green_circuit.system_section(),
self.blue_circuit.system_section(),
self.yellow_circuit.system_section(),
)
}
Expand Down Expand Up @@ -6163,7 +6162,7 @@ impl A320Reversers {
self.reversers[1].actuator()
}

fn green_actuator(&mut self) -> &mut impl Actuator {
fn blue_actuator(&mut self) -> &mut impl Actuator {
self.reversers[0].actuator()
}
}
Expand Down
Loading