1
0
Fork 0

Debug message tweaks.

This commit is contained in:
curt 1998-03-09 22:48:09 +00:00
parent 0d86b4c20f
commit a9ffad1f5b

View file

@ -303,17 +303,22 @@ void fgTimeUpdate(fgFLIGHT *f, struct fgTIME *t) {
sidereal_course(t->gmt, t->cur_time, -(FG_Longitude * RAD_TO_DEG)) sidereal_course(t->gmt, t->cur_time, -(FG_Longitude * RAD_TO_DEG))
+ t->gst_diff; + t->gst_diff;
} }
/* printf(" Current lon=0.00 Sidereal Time = %.3f\n", t->gst); */ fgPrintf( FG_EVENT, FG_DEBUG,
/* printf(" Current LOCAL Sidereal Time = %.3f (%.3f) (diff = %.3f)\n", " Current lon=0.00 Sidereal Time = %.3f\n", t->gst);
t->lst, sidereal_precise(t->mjd, -(FG_Longitude * RAD_TO_DEG)), fgPrintf( FG_EVENT, FG_DEBUG,
t->gst_diff); */ " Current LOCAL Sidereal Time = %.3f (%.3f) (diff = %.3f)\n",
t->lst, sidereal_precise(t->mjd, -(FG_Longitude * RAD_TO_DEG)),
t->gst_diff);
} }
/* $Log$ /* $Log$
/* Revision 1.35 1998/02/09 15:07:52 curt /* Revision 1.36 1998/03/09 22:48:09 curt
/* Minor tweaks. /* Debug message tweaks.
/* /*
* Revision 1.35 1998/02/09 15:07:52 curt
* Minor tweaks.
*
* Revision 1.34 1998/02/07 15:29:47 curt * Revision 1.34 1998/02/07 15:29:47 curt
* Incorporated HUD changes and struct/typedef changes from Charlie Hotchkiss * Incorporated HUD changes and struct/typedef changes from Charlie Hotchkiss
* <chotchkiss@namg.us.anritsu.com> * <chotchkiss@namg.us.anritsu.com>