gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] Detecting Raspberry Pi Hat & PPS


From: Gary E. Miller
Subject: Re: [gpsd-dev] Detecting Raspberry Pi Hat & PPS
Date: Thu, 5 May 2016 16:18:12 -0700

Yo Frank!

Eric did that, he can fix it.

On Thu, 5 May 2016 19:13:13 -0400
Frank Nicholas <address@hidden> wrote:

> I find 2 x files that deal with detecting the Raspberry Pi hat with
> PPS.  They are enclosed in “if defined (PPS_ENABLE)” sections:
> dev2-rpi gpsd # grep pps_thread.devicename *.c gpsmon.c:
> if (strcmp(session.pps_thread.devicename, MAGIC_HAT_GPS) == 0
> timehint.c:       if (strcmp(session->pps_thread.devicename,
> "/dev/ttyAMA0") == 0
> 
> They are inconsistent.  It looks like the should work the same
> (MAGIC_HAT_GPS=“/dev/ttyAMA0” - from “SConstruct”), but probably
> “timehint.c" should be changed to match “gpsmon.c”.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

Attachment: pgpICbqi5SUXh.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]