Skip to content

Commit

Permalink
meta: comments
Browse files Browse the repository at this point in the history
  • Loading branch information
2hwk committed Jan 2, 2023
1 parent 4eede88 commit 66c8ec5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,8 @@ class A32NX_Boarding {

async function fillStation(station, percent, paxToFill) {
const pax = Math.min(Math.trunc(percent * paxToFill), station.seats);
// SeatFlags implementation
station.activeFlags.setFlags(pax);
await SimVar.SetSimVarValue(`L:${station.simVar}_DESIRED`, "string", station.activeFlags.toString());
// await SimVar.SetSimVarValue(`L:${station.simVar}_DESIRED`, "Number", parseInt(pax));
paxRemaining -= pax;
}

Expand Down
1 change: 1 addition & 0 deletions src/fadec/a320_fadec/src/EngineControl.h
Original file line number Diff line number Diff line change
Expand Up @@ -674,6 +674,7 @@ class EngineControl {
/// <summary>
/// FBW Payload checking and UI override function
/// </summary>
// TODO: remove from FADEC logic -> rust
void checkPayload() {
double conversionFactor = simVars->getConversionFactor();
double fuelWeightGallon = simVars->getFuelWeightGallon();
Expand Down
1 change: 1 addition & 0 deletions src/fadec/a380_fadec/src/EngineControl.h
Original file line number Diff line number Diff line change
Expand Up @@ -765,6 +765,7 @@ class EngineControl {
/// <summary>
/// FBW Payload checking and UI override function
/// </summary>
// TODO: remove from FADEC logic -> rust
void checkPayload() {
double conversionFactor = simVars->getConversionFactor();
double fuelWeightGallon = simVars->getFuelWeightGallon();
Expand Down

0 comments on commit 66c8ec5

Please sign in to comment.