-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
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
[AVR] Let laser use some servo timers when they're not used #19011
[AVR] Let laser use some servo timers when they're not used #19011
Conversation
Added auto release timer resources |
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.
What about:
#if NUM_SERVOS > 0
#define _useTimer3
#if NUM_SERVOS > SERVOS_PER_TIMER
#define _useTimer4
AFAIK now (#19025) it uses timer 4. Not used by laser. When servos are 0 HAS_SERVOS is false and nothing is used |
Not yet merged :D
I think that is not always true for some boards, in the case that you have a Laser & BLtouch, as the later includes the servo file and messes everything, ( related to #18973 ) |
That's ok about bl-touch and laser. But bltouch needs servo code so a timer is also needed to properly generate pwm. Then: I think that once merged #19025 you have solved all your problem |
Relax sanity check when, in some custom configurastions, servo timer is freed
Fix #18973