PropWare
C++ objects and CMake build system for Parallax Propeller
Home
Download
Getting Started
Documentation
Reference
About
Related Links
Namespace List
Class List
File List
Examples
Build System
File List
File Members
propsideworkspace
Learn
Simple Libraries
Sensor
libgps
gps_close.c
1
10
#include "gps.h"
11
12
volatile
int
gps_cog;
13
volatile
int
gps_stopping;
14
nmea_data
gps_data;
15
16
void
gps_close()
17
{
18
if
(gps_cog >= 0)
19
{
20
memset(&gps_data, 0,
sizeof
(
nmea_data
));
//clear the GPS data structure
21
gps_stopping = 1;
22
23
while
(gps_stopping);
24
25
cogstop(gps_cog);
26
gps_cog = -1;
27
}
28
}
29
nmea_data_s
Definition:
gps.h:47
Generated on Sat Aug 27 2016 00:58:09 for PropWare by
1.8.12