Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix compiler warnings for ACC_2_ALIGN identical branches #1051

Merged

Conversation

nerdCopter
Copy link
Member

fixes

warning /src/main/sensors/acceleration.c: In function 'accInit':
./src/main/sensors/acceleration.c:373:8: warning: this condition has identical branches [-Wduplicated-branches]
  373 |     if (gyroConfig()->gyro_to_use == GYRO_CONFIG_USE_GYRO_2) {
      |        ^

@nerdCopter nerdCopter marked this pull request as ready for review April 26, 2024 16:33
@nerdCopter nerdCopter merged commit bf21531 into emuflight:master Apr 26, 2024
6 checks passed
@nerdCopter nerdCopter deleted the 20240426_fix_targets_gyro_to_use branch April 26, 2024 16:33
nerdCopter added a commit to nerdCopter/EmuFlight_nerdRepo that referenced this pull request Apr 26, 2024
nerdCopter added a commit that referenced this pull request Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant