On Sun, Aug 10, 2008 at 1:42 PM, Scott Mace <[EMAIL PROTECTED]> wrote: > ntpshm_put() needs to be called in the 0xab case as well for ntp to work.
done. > --- gpsd/trunk/tsip.c 2008-08-08 23:38:27.000000000 -0500 > +++ ../gpsd/trunk/tsip.c 2008-08-09 04:14:09.000000000 -0500 > @@ -65,7 +65,7 @@ > /* XXX clever heuristic to decide if the parity change is required. > */ > session->driver.tsip.parity = session->gpsdata.parity; > session->driver.tsip.stopbits = session->gpsdata.stopbits; > - gpsd_set_speed(session, session->gpsdata.baudrate, 'O', 1); > + gpsd_set_speed(session, session->gpsdata.baudrate, 'N', 1); > break; > > case 1: not committing this - i'd prefer a heuristic to autodetect the parity. i'm open to suggestions on how to do that. > @@ -674,6 +674,10 @@ > > session->gpsdata.fix.time = session->gpsdata.sentence_time = > gpstime_to_unix((int)s1, f1) - (double)u1; > +#ifdef NTPSHM_ENABLE > + if (session->context->enable_ntpshm) > + > (void)ntpshm_put(session,session->gpsdata.sentence_time+0.075); > +#endif > mask |= TIME_SET; > } just committed this part... _______________________________________________ time-nuts mailing list -- [email protected] To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.
