gneworld opened a new pull request, #13528:
URL: https://github.com/apache/nuttx/pull/13528
## Summary
When attempting to assign a value greater than 1 to a 1-bit bit-field,
the result is undefined.
On many systems, this may cause the value to be truncated, keeping only the
least significant bit.
In this specific case, the result of 0xf & 2 is 2 (binary 10), but only the
least significant bit (0) will be stored
## Impact
mmcsd
## Testing
NA
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]