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

fix(PeriphDrivers): Static scoping for UART driver variables #1116

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

BrentK-ADI
Copy link
Contributor

The UART drivers' 'states' variable was not statically limited in scope to their respective files. Aside from potentially corrupting data, since the name 'states' is fairly common, could cause conflict with user's legacy code which might have a 'states' global.

The UART drivers' 'states' variable was not statically limited in scope to their respective files. Aside from potentially corrupting data, since the name 'states' is fairly common, could cause conflict with user's legacy code which might have a 'states' global.
@Jake-Carter Jake-Carter merged commit 4ca3d0a into analogdevicesinc:main Aug 20, 2024
7 of 8 checks passed
sihyung-maxim pushed a commit to analogdevicesinc/hal_adi that referenced this pull request Aug 20, 2024
ozersa pushed a commit to analogdevicesinc/hal_adi that referenced this pull request Sep 11, 2024
ozersa pushed a commit to analogdevicesinc/hal_adi that referenced this pull request Sep 11, 2024
@BrentK-ADI BrentK-ADI deleted the periph_scoping branch October 23, 2024 16:28
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.

2 participants