Don't report "init complete" unless "init" is complete :).
}
if (_dataValid && (_mode == "init")) {
- // allow a realistic delay in the future, here
- SG_LOG(SG_INSTR, SG_INFO, "GPS initialisation complete");
if (_route_active_node->getBoolValue()) {
// GPS init with active route
selectOBSMode();
}
}
+
+ if (_mode != "init")
+ {
+ // allow a realistic delay in the future, here
+ SG_LOG(SG_INSTR, SG_INFO, "GPS initialisation complete");
+ }
} // of init mode check
_last_pos = _indicated_pos;