mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
examples/gps: Add default case for switch-warning of vendor extended sentence
Vendor may add extended sentence may not handled in switch, error if -Werror=switch enabled. And extended sentence should not added to general examples. Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
This commit is contained in:
parent
abdcb33f14
commit
b1c4e39205
1 changed files with 1 additions and 10 deletions
|
|
@ -128,16 +128,7 @@ int main(int argc, FAR char *argv[])
|
|||
}
|
||||
break;
|
||||
|
||||
case MINMEA_INVALID:
|
||||
case MINMEA_UNKNOWN:
|
||||
case MINMEA_SENTENCE_GSA:
|
||||
case MINMEA_SENTENCE_GLL:
|
||||
case MINMEA_SENTENCE_GST:
|
||||
case MINMEA_SENTENCE_GSV:
|
||||
case MINMEA_SENTENCE_GBS:
|
||||
case MINMEA_SENTENCE_VTG:
|
||||
case MINMEA_SENTENCE_ZDA:
|
||||
case MINMEA_SENTENCE_LOR_LSQ:
|
||||
default:
|
||||
{
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue