small fix
This commit is contained in:
12
igc.c
12
igc.c
@@ -55,6 +55,14 @@ struct IGC_DataPoint* parse_datapoint(char* line)
|
||||
return dp;
|
||||
}
|
||||
|
||||
void parse_header_record(char* line)
|
||||
{
|
||||
if (strncmp(line, "HFDTEDATE", 9) == 0)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
void parse_igc_file(FILE* fp)
|
||||
{
|
||||
size_t len = 0;
|
||||
@@ -69,7 +77,11 @@ void parse_igc_file(FILE* fp)
|
||||
// Doubly linked list of points (so theyre joined in chronological order; opens possibilities for analysis later)
|
||||
// append_datapoint(dp);
|
||||
break;
|
||||
case HEADER:
|
||||
parse_header_record(line);
|
||||
break;
|
||||
default:
|
||||
printf("Unrecognized record type '%c'\n", line[0]);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user