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:
wangjianyu3 2024-09-19 18:49:31 +08:00 committed by Xiang Xiao
parent abdcb33f14
commit b1c4e39205

View File

@ -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;