Skip to content
Snippets Groups Projects
Select Git revision
  • 5bb28c7f10ebd1036302cf7ac0b24a7a233de2aa
  • wip-bootstrap default
  • dualcore
  • ch3/leds
  • ch3/time
  • master
6 results

spi.c

Blame
  • user avatar
    Damien George authored
    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.
    5bb28c7f
    History
    spi.c 30.35 KiB