Closed muaxiaohei closed 1 week ago
In my testing, v might be 0 which will cause a mcu stall.
unsigned r = 0; printf("v: %d\n", v); while ((v & 0x01) == 0) { v >>= 1; r++; } return r;
I will add details later.
Yes, as documented.
Description
In my testing, v might be 0 which will cause a mcu stall.
Steps to reproduce the issue
Expected results
Actual results
Versions