Skip to content

Commit

Permalink
Merge pull request #708 from dstieglitz/master
Browse files Browse the repository at this point in the history
fix issue with blitFrameBuffer not working on Adafruit CLUE (HT @jimsbugs)
  • Loading branch information
hathach authored Dec 29, 2021
2 parents b8e2b61 + 5859893 commit c20491b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/SPI/SPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
{
Expand Down

0 comments on commit c20491b

Please sign in to comment.