mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-24 23:18:23 +00:00
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 <wangjianyu3@xiaomi.com>
This commit is contained in:
parent
8764f502d5
commit
ad2514fc6f
1 changed files with 1 additions and 0 deletions
|
|
@ -137,6 +137,7 @@ int main(int argc, FAR char *argv[])
|
|||
case MINMEA_SENTENCE_GBS:
|
||||
case MINMEA_SENTENCE_VTG:
|
||||
case MINMEA_SENTENCE_ZDA:
|
||||
case MINMEA_SENTENCE_LOR_LSQ:
|
||||
{
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue