You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
In PwmOut Constructor, pwmout_init() is called, so I guess there should be a call to pwmout_free() within the PwmOut Destructor.
Actual behavior
pwmout_free() is not called. So a pin stays initialized, when a PwmOut object is destroyed.
Depending on the target's implementation, this could lead to sleep modes not unblocked, timers not uninitialized, etc...
The text was updated successfully, but these errors were encountered:
Description
Bug
Expected behavior
In PwmOut Constructor, pwmout_init() is called, so I guess there should be a call to pwmout_free() within the PwmOut Destructor.
Actual behavior
pwmout_free() is not called. So a pin stays initialized, when a PwmOut object is destroyed.
Depending on the target's implementation, this could lead to sleep modes not unblocked, timers not uninitialized, etc...
The text was updated successfully, but these errors were encountered: