mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 11:10:14 +01:00
There is no need to take src_len and dest_len arguments. The case of reading-only with a single output byte (originally src_len=1, dest_len>1) is now handled by using the output buffer as the input buffer, and using memset to fill the output byte into this buffer. This simplifies the implementations of the spi_transfer protocol function.
3.3 KiB
3.3 KiB