Merge pull request #708 from dstieglitz/master

fix issue with blitFrameBuffer not working on Adafruit CLUE (HT @jimsbugs)
This commit is contained in:
Ha Thach authored and GitHub committed 2021-12-30 01:50:15 +07:00
commit c20491b3c7
1 file changed
+1 -1
+1 -1
View File
@@ -208,7 +208,7 @@ void SPIClass::transfer(const void *tx_buf, void *rx_buf, size_t count)
while (count)
{
// each transfer can only up to 64KB (16-bit) bytes
const size_t xfer_len = min((uint16_t) count, UINT16_MAX);
const size_t xfer_len = min(count, UINT16_MAX);
nrfx_spim_xfer_desc_t xfer_desc =
{