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

Pen Servo Tool fixes #733

Merged
merged 2 commits into from
Aug 16, 2024
Merged

Pen Servo Tool fixes #733

merged 2 commits into from
Aug 16, 2024

Conversation

fooker
Copy link
Contributor

@fooker fooker commented Aug 14, 2024

This fixes the range function for the pen servo tool:

  • Remove the unused PEN_SERVO_MID option
  • Allow to have PEN_SERVO_LOW be greater than PEN_SERVO_HIGH
  • Fix an type conversion overflow in the range converter
  • Add safety clamping before sending values to PWN

Copy link
Owner

@Paciente8159 Paciente8159 left a comment

Choose a reason for hiding this comment

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

Code tested and OK

@Paciente8159 Paciente8159 merged commit a8cc420 into Paciente8159:master Aug 16, 2024
19 checks passed
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.

2 participants