mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
[FS9] Style
This commit is contained in:
committed by
Mat Sutcliffe
parent
f507d6d9cb
commit
a0b8fbd158
@@ -49,8 +49,8 @@ namespace BlackSimPlugin
|
||||
|
||||
MPPositionVelocity aircraftSituationToFS9(const CAircraftSituation &oldSituation, const CAircraftSituation &newSituation, double updateInterval)
|
||||
{
|
||||
Q_UNUSED(oldSituation);
|
||||
Q_UNUSED(updateInterval);
|
||||
Q_UNUSED(oldSituation)
|
||||
Q_UNUSED(updateInterval)
|
||||
MPPositionVelocity positionVelocity;
|
||||
|
||||
// Latitude - integer and decimal places
|
||||
|
||||
@@ -311,7 +311,7 @@ namespace BlackSimPlugin
|
||||
|
||||
void CSimulatorFs9::timerEvent(QTimerEvent *event)
|
||||
{
|
||||
Q_UNUSED(event);
|
||||
Q_UNUSED(event)
|
||||
dispatch();
|
||||
}
|
||||
|
||||
|
||||
@@ -167,7 +167,7 @@ namespace BlackSimPlugin
|
||||
DWORD dwResult = 0;
|
||||
bool ok =
|
||||
FSUIPC_Write(0x034e, 2, &com1ActiveRaw, &dwResult) &&
|
||||
FSUIPC_Write(0x3118, 2, &com2ActiveRaw, &dwResult) &&
|
||||
FSUIPC_Write(0x3118, 2, &com2ActiveRaw, &dwResult) &&
|
||||
FSUIPC_Write(0x311a, 2, &com1StandbyRaw, &dwResult) &&
|
||||
FSUIPC_Write(0x311c, 2, &com2StandbyRaw, &dwResult) &&
|
||||
FSUIPC_Write(0x0354, 2, &transponderCodeRaw, &dwResult);
|
||||
|
||||
Reference in New Issue
Block a user