[Top][All Lists]

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

Re: [gpsd-dev] Minimum working example for libgps

From: Hal Murray
Subject: Re: [gpsd-dev] Minimum working example for libgps
Date: Wed, 08 Nov 2017 01:33:16 -0800

> If you think you can do it in one page of code, I'd like to see it.

How is this?

I'm assuming that the main-loop version had something like
  if gpsd-ready()
    xxx = GetGpsLocation(gps);

where GetGpsLocation() does all the work of dealing with gpsd and returns the 

Attachment: location.c
Description: location.c

These are my opinions.  I hate spam.

reply via email to

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