Skip to content

Commit ad2514f

Browse files
JianyuWang0623xiaoxiang781216
authored andcommitted
examples/gps: Fix switch error
Log: gps_main.c:83:7: error: enumeration value 'MINMEA_SENTENCE_LOR_LSQ' not handled in switch [-Werror=switch] 83 | switch (minmea_sentence_id(line, false)) | ^~~~~~ Signed-off-by: wangjianyu3 <[email protected]>
1 parent 8764f50 commit ad2514f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/gps/gps_main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ int main(int argc, FAR char *argv[])
137137
case MINMEA_SENTENCE_GBS:
138138
case MINMEA_SENTENCE_VTG:
139139
case MINMEA_SENTENCE_ZDA:
140+
case MINMEA_SENTENCE_LOR_LSQ:
140141
{
141142
}
142143
break;

0 commit comments

Comments
 (0)