Skip to content

Code duplication between drivers #88822

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

Open
zbas opened this issue Apr 19, 2025 · 0 comments
Open

Code duplication between drivers #88822

zbas opened this issue Apr 19, 2025 · 0 comments
Assignees
Labels
platform: STM32 ST Micro STM32

Comments

@zbas
Copy link

zbas commented Apr 19, 2025

How should it be handled? Is there a location where code common to multiple drivers should go?

I am asking because get_tim_clk in the stm32 drivers is duplicated in the counter and pwm drivers and it has been ackowledged that this should be addressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: STM32 ST Micro STM32
Projects
None yet
Development

No branches or pull requests

3 participants