mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-02-03 09:44:01 -05:00
Fix linux warnings
This commit is contained in:
parent
f4f2ab2dca
commit
b0ad41ff04
@ -866,7 +866,7 @@ void ADSBDemodGUI::handleADSB(
|
|||||||
float correlationOnes,
|
float correlationOnes,
|
||||||
bool updateModel)
|
bool updateModel)
|
||||||
{
|
{
|
||||||
const char idMap[] = "?ABCDEFGHIJKLMNOPQRSTUVWXYZ????? ????????????-??0123456789??????";
|
const char idMap[] = "#ABCDEFGHIJKLMNOPQRSTUVWXYZ##### ############-##0123456789######";
|
||||||
const QString categorySetA[] = {
|
const QString categorySetA[] = {
|
||||||
QStringLiteral("None"),
|
QStringLiteral("None"),
|
||||||
QStringLiteral("Light"),
|
QStringLiteral("Light"),
|
||||||
@ -1659,7 +1659,7 @@ void ADSBDemodGUI::handleADSB(
|
|||||||
if (aircraft->m_positionValid)
|
if (aircraft->m_positionValid)
|
||||||
{
|
{
|
||||||
// Check to see if we need to start any animations
|
// Check to see if we need to start any animations
|
||||||
QList<SWGSDRangel::SWGMapAnimation *> *animations = animate(dateTime, aircraft, prevAltitudeValid, prevAltitude);
|
QList<SWGSDRangel::SWGMapAnimation *> *animations = animate(dateTime, aircraft);
|
||||||
|
|
||||||
// Update map displayed in channel
|
// Update map displayed in channel
|
||||||
if (updateModel) {
|
if (updateModel) {
|
||||||
@ -1685,7 +1685,7 @@ void ADSBDemodGUI::handleADSB(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
QList<SWGSDRangel::SWGMapAnimation *> * ADSBDemodGUI::animate(QDateTime dateTime, Aircraft *aircraft, bool prevAltitudeValid, int prevAltitude)
|
QList<SWGSDRangel::SWGMapAnimation *> * ADSBDemodGUI::animate(QDateTime dateTime, Aircraft *aircraft)
|
||||||
{
|
{
|
||||||
QList<SWGSDRangel::SWGMapAnimation *> *animations = new QList<SWGSDRangel::SWGMapAnimation *>();
|
QList<SWGSDRangel::SWGMapAnimation *> *animations = new QList<SWGSDRangel::SWGMapAnimation *>();
|
||||||
|
|
||||||
@ -1695,7 +1695,6 @@ QList<SWGSDRangel::SWGMapAnimation *> * ADSBDemodGUI::animate(QDateTime dateTime
|
|||||||
const int accelerationHeight = 1500;
|
const int accelerationHeight = 1500;
|
||||||
const int flapsRetractAltitude = 2000;
|
const int flapsRetractAltitude = 2000;
|
||||||
const int flapsCleanSpeed = 200;
|
const int flapsCleanSpeed = 200;
|
||||||
const int flapsFullSpeed = 170;
|
|
||||||
|
|
||||||
bool debug = false;
|
bool debug = false;
|
||||||
|
|
||||||
|
@ -838,7 +838,7 @@ private:
|
|||||||
float correlation,
|
float correlation,
|
||||||
float correlationOnes,
|
float correlationOnes,
|
||||||
bool updateModel);
|
bool updateModel);
|
||||||
QList<SWGSDRangel::SWGMapAnimation *> *animate(QDateTime dateTime, Aircraft *aircraft, bool prevAltitudeValid, int prevAltitude);
|
QList<SWGSDRangel::SWGMapAnimation *> *animate(QDateTime dateTime, Aircraft *aircraft);
|
||||||
SWGSDRangel::SWGMapAnimation *gearAnimation(QDateTime startDateTime, bool up);
|
SWGSDRangel::SWGMapAnimation *gearAnimation(QDateTime startDateTime, bool up);
|
||||||
SWGSDRangel::SWGMapAnimation *flapsAnimation(QDateTime startDateTime, float currentFlaps, float flaps);
|
SWGSDRangel::SWGMapAnimation *flapsAnimation(QDateTime startDateTime, float currentFlaps, float flaps);
|
||||||
SWGSDRangel::SWGMapAnimation *slatsAnimation(QDateTime startDateTime, bool retract);
|
SWGSDRangel::SWGMapAnimation *slatsAnimation(QDateTime startDateTime, bool retract);
|
||||||
|
Loading…
Reference in New Issue
Block a user