Update README.md

This commit is contained in:
johlim 2016-12-15 16:39:02 +09:00 committed by Kosma Moczek
parent bbbe3d73b6
commit 51c9c01ff8

View File

@ -62,7 +62,7 @@ The library doesn't perform this conversion automatically for the following reas
```c
char line[MINMEA_MAX_LENGTH];
while (fgets(line, sizeof(line), stdin) != NULL) {
switch (minmea_sentence_id(line)) {
switch (minmea_sentence_id(line, false)) {
case MINMEA_SENTENCE_RMC: {
struct minmea_sentence_rmc frame;
if (minmea_parse_rmc(&frame, line)) {