Skip to content

Commit

Permalink
fbw: fix(payload): misc payload fixes after refactor, update pw ident
Browse files Browse the repository at this point in the history
  • Loading branch information
masterrob94 committed Sep 6, 2023
1 parent 34efb4b commit d65647a
Show file tree
Hide file tree
Showing 23 changed files with 27 additions and 7,487 deletions.
164 changes: 0 additions & 164 deletions hsim-a318ceo/src/wasm/systems/a320_systems/src/airframe/test.rs

This file was deleted.

146 changes: 0 additions & 146 deletions hsim-a318ceo/src/wasm/systems/a320_systems/src/fuel/test.rs

This file was deleted.

5 changes: 5 additions & 0 deletions hsim-a318ceo/src/wasm/systems/a320_systems/src/payload/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,11 @@ impl A320Payload {
self.payload_manager.pax_num(ps)
}

#[cfg(test)]
fn total_pax_num(&self) -> i32 {
self.payload_manager.total_pax_num()
}

fn total_passenger_load(&self) -> Mass {
self.payload_manager.total_passenger_load()
}
Expand Down
Loading

0 comments on commit d65647a

Please sign in to comment.