Rev 4 |
Blame |
Last modification |
View Log
| Download
| RSS feed
/*
* nmea.h
*
* Created on: 6 Sep 2020
* Author: mike
*/
#ifndef INC_NMEA_H_
#define INC_NMEA_H_
#include <ctype.h>
#if !defined (__cplusplus)
#if !defined true
#define true 1
#define false !(true)
#endif
typedef unsigned char bool;
#endif
#ifdef __cplusplus
extern "C" {
#endif
typedef struct
{
char valid;
char time[6];
bool good;
char ew;
char ns;
float lat;
float lon;
float heading;
float speed;
} Location;
extern bool
updateLocation (Location *loc);
#ifdef __cplusplus
}
#endif
#endif /* INC_NMEA_H_ */