Skip to content

Commit

Permalink
Fix switch fallthrough
Browse files Browse the repository at this point in the history
  • Loading branch information
BillThePlatypus committed Mar 16, 2020
1 parent 93b9dd9 commit 7fb1809
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions boards/airbourne/airbourne_board.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ bool AirbourneBoard::enable_device(device_t device, hardware_config_t configurat
int_i2c_.init(&i2c_config[BARO_I2C]);
mag_.init(&int_i2c_);
}
break;
default:
return false;
}
Expand Down
1 change: 1 addition & 0 deletions boards/airbourne/airbourne_board_config_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ ConfigManager::ConfigResponse AirbourneBoardConfigManager::check_config_change(d
case Configuration::RC:
if(config ==AirbourneConfiguration::RC_PPM) // PPM is not known to conflict with anything
break;
[[gnu::fallthrough]];
case Configuration::SERIAL:
case Configuration::GNSS:
if(port != NO_PORT)
Expand Down

0 comments on commit 7fb1809

Please sign in to comment.