Post-discontinuity - prevent GPS log spam
This commit is contained in:
parent
285da1f974
commit
ec1c5142ec
1 changed files with 2 additions and 0 deletions
|
@ -128,6 +128,8 @@ var A320GPSDelegate = {
|
||||||
if (me._modeProp.getValue() == 'leg') {
|
if (me._modeProp.getValue() == 'leg') {
|
||||||
if (me.flightplan.nextWP().wp_type == 'discontinuity') {
|
if (me.flightplan.nextWP().wp_type == 'discontinuity') {
|
||||||
logprint(LOG_INFO, "default GPS sequencing DISCONTINUITY in flightplan, switching to HDG");
|
logprint(LOG_INFO, "default GPS sequencing DISCONTINUITY in flightplan, switching to HDG");
|
||||||
|
me._captureCurrentCourse();
|
||||||
|
me._selectOBSMode();
|
||||||
# set HDG mode
|
# set HDG mode
|
||||||
} else {
|
} else {
|
||||||
logprint(LOG_INFO, "default GPS sequencing to next WP");
|
logprint(LOG_INFO, "default GPS sequencing to next WP");
|
||||||
|
|
Loading…
Reference in a new issue