-
Notifications
You must be signed in to change notification settings - Fork 61
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
Remove RotaryEncoder and TicksPerSecond libraries #10
Conversation
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.
This looks like a big change. I am OK if tested thoroughly and if backwards compatible.
Observations:
- What's the benefits of having the source code from the other library now as part of our code?
- I am realizing it is BSD license :(
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of the copyright owners nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
From over in the MobiFlight issue that's tracking the PlatformIO change @elral mentioned that it saves quite a bit of flash:
|
The original encoder lib uses the button lib, which is also RAM consuming and not required. The original license is a topic, I thought it would be enough to add this in the top of both files (.cpp and .h). |
@MobiFlight-Admin My read of the BSD license matches @elral: with the proper attribution/copyright it is ok. Do you have any other questions/concerns with this change? |
Firmware for this pull request: |
Alternative approach to this is open in PR #54 |
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.
We will stick with this option and evaluate the second alternative afterwards to see if there are any additional improvements.
w/o RotaryEncoder and TicksPerSecond libs.
Please double check FastAcceleration for different encoder types!
Fixes #2