mirror of https://github.com/rusefi/rusefi.git
only:clean-up
This commit is contained in:
parent
b5e0784466
commit
e2049357e9
|
@ -90,7 +90,7 @@ Unit M=Meters
|
|||
Age of DGPS Corr s Age of Differential Corrections
|
||||
DGPS Ref Station ID of DGPS Reference Station
|
||||
*/
|
||||
void nmea_parse_gpgga(char const * const nmea, loc_t *loc) {
|
||||
static void nmea_parse_gpgga(char const * const nmea, loc_t *loc) {
|
||||
char const * p = (char *)nmea;
|
||||
char dStr[GPS_MAX_STRING];
|
||||
|
||||
|
@ -167,7 +167,7 @@ Mode Indicator N A=Autonomous, D=Differential, E=Dead Reckoning, N=None
|
|||
Navigational Status S=Safe C=Caution U=Unsafe V=Not valid
|
||||
*/
|
||||
|
||||
void nmea_parse_gprmc(char const * const nmea, loc_t *loc) {
|
||||
static void nmea_parse_gprmc(char const * const nmea, loc_t *loc) {
|
||||
char const * p = (char *)nmea;
|
||||
char dStr[GPS_MAX_STRING];
|
||||
efidatetime_t dt;
|
||||
|
|
|
@ -41,8 +41,8 @@ typedef struct GPSlocation loc_t;
|
|||
|
||||
nmea_message_type nmea_get_message_type(const char *);
|
||||
int nmea_valid_checksum(const char *);
|
||||
void nmea_parse_gpgga(char const * const, loc_t *);
|
||||
void nmea_parse_gprmc(char const * const, loc_t *);
|
||||
|
||||
|
||||
void gps_location(loc_t *, char const * const);
|
||||
|
||||
static int str2int(const char * a, const int len) {
|
||||
|
|
|
@ -49,7 +49,7 @@ using efitimems_t = uint32_t;
|
|||
|
||||
// date-time struct a la ctime struct tm
|
||||
typedef struct {
|
||||
uint32_t year;
|
||||
uint32_t year = 0;
|
||||
uint8_t month;
|
||||
uint8_t day;
|
||||
uint8_t hour;
|
||||
|
|
Loading…
Reference in New Issue