Remove some debugging output
This commit is contained in:
parent
af7cd434cf
commit
21387a636f
1 changed files with 3 additions and 3 deletions
|
@ -890,11 +890,11 @@ double DCLGPS::GetCDIDeflection() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
void DCLGPS::DtoInitiate(const string& s) {
|
void DCLGPS::DtoInitiate(const string& s) {
|
||||||
cout << "DtoInitiate, s = " << s << '\n';
|
//cout << "DtoInitiate, s = " << s << '\n';
|
||||||
bool multi;
|
bool multi;
|
||||||
const GPSWaypoint* wp = FindFirstById(s, multi, true);
|
const GPSWaypoint* wp = FindFirstById(s, multi, true);
|
||||||
if(wp) {
|
if(wp) {
|
||||||
cout << "Waypoint found, starting dto operation!\n";
|
//cout << "Waypoint found, starting dto operation!\n";
|
||||||
_dto = true;
|
_dto = true;
|
||||||
_activeWaypoint = *wp;
|
_activeWaypoint = *wp;
|
||||||
_fromWaypoint.lat = _gpsLat;
|
_fromWaypoint.lat = _gpsLat;
|
||||||
|
@ -902,7 +902,7 @@ void DCLGPS::DtoInitiate(const string& s) {
|
||||||
_fromWaypoint.type = GPS_WP_VIRT;
|
_fromWaypoint.type = GPS_WP_VIRT;
|
||||||
_fromWaypoint.id = "DTOWP";
|
_fromWaypoint.id = "DTOWP";
|
||||||
} else {
|
} else {
|
||||||
cout << "Waypoint not found, ignoring dto request\n";
|
//cout << "Waypoint not found, ignoring dto request\n";
|
||||||
// Should bring up the user waypoint page, but we're not implementing that yet.
|
// Should bring up the user waypoint page, but we're not implementing that yet.
|
||||||
_dto = false; // TODO - implement this some day.
|
_dto = false; // TODO - implement this some day.
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue