Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Off-by-one in SDHC detection #6194
Nov 14, 2017
10 checks passed
Those are quite rare and I'm not sure how capacity calculation is done for those.
>>> (4095+1)*(2**(7+2+10)) 2147483648
This is exactly 2 GiB.
If you find out how capacity is computed for those guys, let me know or submit a PR.