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
@ -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…
Reference in New Issue
Block a user