[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] Detecting Raspberry Pi Hat & PPS
From: |
Eric S. Raymond |
Subject: |
Re: [gpsd-dev] Detecting Raspberry Pi Hat & PPS |
Date: |
Thu, 5 May 2016 22:59:01 -0400 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Frank Nicholas <address@hidden>:
> 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”.
>
> Thanks
> Frank
You're right. My finger slipped.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
- Re: [gpsd-dev] Detecting Raspberry Pi Hat & PPS, (continued)
- Re: [gpsd-dev] Detecting Raspberry Pi Hat & PPS, Frank Nicholas, 2016/05/05
- Re: [gpsd-dev] Detecting Raspberry Pi Hat & PPS, Gary E. Miller, 2016/05/05
- Re: [gpsd-dev] Detecting Raspberry Pi Hat & PPS, Frank, 2016/05/06
- Re: [gpsd-dev] Detecting Raspberry Pi Hat & PPS, Gary E. Miller, 2016/05/06
- Re: [gpsd-dev] Detecting Raspberry Pi Hat & PPS, Eric S. Raymond, 2016/05/06
- Re: [gpsd-dev] Detecting Raspberry Pi Hat & PPS, Gary E. Miller, 2016/05/06
- Re: [gpsd-dev] Detecting Raspberry Pi Hat & PPS, Eric S. Raymond, 2016/05/06
- Re: [gpsd-dev] Detecting Raspberry Pi Hat & PPS, Gary E. Miller, 2016/05/06
- Re: [gpsd-dev] Detecting Raspberry Pi Hat & PPS, Oliver Jowett, 2016/05/05
- Re: [gpsd-dev] Detecting Raspberry Pi Hat & PPS, Gary E. Miller, 2016/05/05
Re: [gpsd-dev] Detecting Raspberry Pi Hat & PPS,
Eric S. Raymond <=