Closed RinHizakura closed 3 years ago
Look like some math mistakes are made for the number of registers you actually need? For register pending, the size 0x80 is 16 * 8 = 128 bytes, so we need only 32 4 bytes (uin32_t) registers only. The same calculation error happens on enable too.
pending
0x80
uin32_t
enable
Thank you for your PR! You're right. I'm merging your PR. Thanks :)
Look like some math mistakes are made for the number of registers you actually need? For register
pending
, the size0x80
is 16 * 8 = 128 bytes, so we need only 32 4 bytes (uin32_t
) registers only. The same calculation error happens onenable
too.