-
Notifications
You must be signed in to change notification settings - Fork 6
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
Typo in new timer code #18
Comments
Also, seeing a hardfault during the port claiming process when an aux out port is not pwm capable, execution gets to the return statement of Line 119 in 8ccfaa0
|
Hi Terje, just wanted to query that pwm.c fix (haven't tried it yet)..
Won't pwm->timer get dereferenced anyway, even if pwm is null? I was hitting the hardfault on some build configurations but not others, so my suspicion was that pwm->timer was pointing to an invalid memory address depending on compile options. |
No, it should not. |
Cool, thanks! Never knew that was a defined behaviour... |
Just noticed this while merging latest changes into H7 driver..
STM32F7xx/Src/timers.c
Lines 313 to 317 in 8ccfaa0
The text was updated successfully, but these errors were encountered: