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

pwm.c: do not unexport channels #157

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jadonk
Copy link
Member

@jadonk jadonk commented Mar 27, 2019

The kernel complains that the PWM is not stopped ahead of being
unexported. This may or may not be the case, but in any case,
this helps avoid the kernel issue.

Fixes #154

The kernel complains that the PWM is not stopped ahead of being
unexported. This may or may not be the case, but in any case,
this helps avoid the kernel issue.

Fixes beagleboard#154
@StrawsonDesign
Copy link
Collaborator

If i remember correctly the reason I unexported the channels is because the pwm frequency can only be set once after export. Without the unexport the board would need to reboot to change PWM frequency.

@DhruvaG2000
Copy link

So finally, the channels have to be unexported right as per @StrawsonDesign ? Can someone provide clarity as to what is the status with this issue?

@jadonk
Copy link
Member Author

jadonk commented Jul 13, 2021

The library should be fixed to export/unexport as needed.

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.

motor command results in "segmentation fault"
3 participants