Skip to content

Commit a1cb6d9

Browse files
committed
hosted/cli: Fix minor implicit fallthrough
* CMSIS-DAP and GPIOD backends are runtime mutually exclusive, but GCC still rightfully prints a diagnostic * Terminate every case with a break.
1 parent ff31ba2 commit a1cb6d9

File tree

1 file changed

+1
-0
lines changed
  • src/platforms/hosted

1 file changed

+1
-0
lines changed

src/platforms/hosted/cli.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,7 @@ void cl_init(bmda_cli_options_s *opt, int argc, char **argv)
421421
case 'g':
422422
if (optarg)
423423
opt->opt_gpio_map = optarg;
424+
break;
424425
#endif
425426
case 'k':
426427
opt->opt_cmsisdap_allow_fallback = true;

0 commit comments

Comments
 (0)