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

SubGhz some improvements #465

Merged
merged 12 commits into from
May 14, 2023
Merged

SubGhz some improvements #465

merged 12 commits into from
May 14, 2023

Conversation

gid9798
Copy link
Collaborator

@gid9798 gid9798 commented May 13, 2023

What's new

SubGhz app: removed duplicate code in transmitter.c
SubGhz app: fix "add manual" Alutech AT 4N
SubGhzRemote app: drop include from SubGhz app

SubGhz: Improved code readability and some "if" optimization in custom button and keeloq
Fix strange bug with formatting in VS CODE in keeloq.c and star_line.c

Verification

  • check the functionality of custom buttons
  • check "add manual" for Alutech AT 4N protocol in SubGhz app
  • you may need to make changes to the added comments for better readability.

Checklist (For Reviewer)

  • PR has description of feature/bug
  • Description contains actions to verify feature/bugfix
  • I've built this code, uploaded it to the device and verified feature/bugfix

@gid9798 gid9798 requested a review from xMasterX as a code owner May 13, 2023 20:34
return true;
},
true);
subghz_transmitter->callback(
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can add a check here so that other buttons don't send the original signal. This is useful if there are no custom buttons in the protocol.

Copy link
Member

@xMasterX xMasterX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, all seems to be working fine, I made couple changes to fix issues I found

@xMasterX xMasterX merged commit bdc720a into DarkFlippers:dev May 14, 2023
@gid9798 gid9798 deleted the SubGhz_lib branch May 15, 2023 15:58
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.

None yet

2 participants