-
Notifications
You must be signed in to change notification settings - Fork 66
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
Add missing retrigger for analog inputs at startup #199
Conversation
Firmware for this pull request: |
I think initialisation of the average buffer should be part of the constructor |
@elral you're absolutely right, thanks for noticing! I changed it the way you suggest, |
Firmware for this pull request: |
@GioCC looks perfect now! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please see my comment.
Compare expression promoted to own function
Compare expression promoted to own function
Firmware for this pull request: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @GioCC
Description of changes
Included Analog input polling in the retrigger command.
An initial scan has been added to setup() to fill the value buffer for analog inputs before it is used
Fixes #202
Fixes #898 (MobiFlight/MobiFlight-Connector#898)