You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2024/09/18 19:42:42 UTC
(nuttx-apps) 05/06: examples/gps: Fix switch error
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
commit ad2514fc6f996a475d2a89a0366708b43e378796
Author: wangjianyu3 <wa...@xiaomi.com>
AuthorDate: Tue Jul 2 18:14:02 2024 +0800
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 <wa...@xiaomi.com>
---
examples/gps/gps_main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/examples/gps/gps_main.c b/examples/gps/gps_main.c
index ef9a886b0..b67624e3f 100644
--- a/examples/gps/gps_main.c
+++ b/examples/gps/gps_main.c
@@ -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;