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 - Beesign: comment out unused code; fix function call parenthasis; #967

Merged

Conversation

nerdCopter
Copy link
Member

@nerdCopter nerdCopter commented Feb 23, 2024

fixes:

./src/main/drivers/beesign.c: In function 'beesignUpdate':
./src/main/drivers/beesign.c:611:9: warning: the address of 'checkBeesignSerialPort' will always evaluate as 'true' [-Waddress]
  611 |     if (checkBeesignSerialPort) {
      |         ^~~~~~~~~~~~~~~~~~~~~~
At top level:
./src/main/drivers/beesign.c:104:16: warning: 'beesignChkID' defined but not used [-Wunused-function]
  104 | static uint8_t beesignChkID(uint8_t id) {

@nerdCopter nerdCopter force-pushed the 20240223_fix_compile_warnings_Beesign branch from f8f826a to 1c2d7f8 Compare February 23, 2024 20:22
@nerdCopter nerdCopter force-pushed the 20240223_fix_compile_warnings_Beesign branch from 1c2d7f8 to d52b356 Compare February 23, 2024 20:24
@nerdCopter nerdCopter changed the title fix compiler warnings - Beesign: comment out unused code; fix function call parenthasis; unused sPower; fix compiler warnings - Beesign: comment out unused code; fix function call parenthasis; Feb 23, 2024
@nerdCopter nerdCopter merged commit f4686c9 into emuflight:master Feb 27, 2024
4 checks passed
@nerdCopter nerdCopter deleted the 20240223_fix_compile_warnings_Beesign branch February 27, 2024 16:43
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