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 warning - convertSpektrumVtxPowerIndex - unused parameter 'sPower' #973

Conversation

nerdCopter
Copy link
Member

@nerdCopter nerdCopter commented Feb 23, 2024

  • fixes:
./src/main/io/spektrum_vtx_control.c: In function 'convertSpektrumVtxPowerIndex':
./src/main/io/spektrum_vtx_control.c:115:46: warning: unused parameter 'sPower' [-Wunused-parameter]
  115 | uint8_t convertSpektrumVtxPowerIndex(uint8_t sPower) {
  • only Targets affected were Beesign targets, therefore safe to merge.
    • HMBF4PRO_US
    • NBDHMBF4PRO (tested; analog output still working)
    • HMBF4PRO_INTL

@nerdCopter nerdCopter marked this pull request as ready for review March 1, 2024 21:09
@nerdCopter nerdCopter merged commit c70f55a into emuflight:master Mar 1, 2024
4 of 5 checks passed
@nerdCopter nerdCopter deleted the 20240223_fix_compile_warnings_SpektrumVtx_sPower branch March 1, 2024 21:10
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