Skip to content

Commit

Permalink
hosted/cli: Fix minor implicit fallthrough
Browse files Browse the repository at this point in the history
* CMSIS-DAP and GPIOD backends are runtime mutually exclusive, but
  GCC still rightfully prints a diagnostic
* Terminate every case with a break.
  • Loading branch information
ALTracer committed Oct 24, 2024
1 parent ff31ba2 commit a1cb6d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/platforms/hosted/cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ void cl_init(bmda_cli_options_s *opt, int argc, char **argv)
case 'g':
if (optarg)
opt->opt_gpio_map = optarg;
break;
#endif
case 'k':
opt->opt_cmsisdap_allow_fallback = true;
Expand Down

0 comments on commit a1cb6d9

Please sign in to comment.