Mohamed Ayman created a merge request: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1127

Project:Branches: mohamedayman23/rtems:fix-AFIO-bitmask to rtems/rtos/rtems:main
Author:   Mohamed Ayman



BUG: Fix AFIO bit clearing in set_remap_config

Previously, the mask operation in set_remap_config used `value &= mask << 
entry.start;`, which incorrectly kept unrelated bits and caused GPIO remapping 
to behave incorrectly.

This change updates it to `value &= ~(mask << entry.start);` so that only the 
intended bits are cleared before setting the new value.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1127
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to