diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-07-27 14:50:50 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-07-27 14:50:50 -0400 |
commit | edbf9e113f65dc0f498db1d6152e3bf499615abf (patch) | |
tree | df946f1aa57c6bba2517fb5b5fd051cf899deccb /source/lang/api | |
parent | 8103a679d4672d366263c9132c24abd2e90a9ace (diff) | |
download | librambutan-edbf9e113f65dc0f498db1d6152e3bf499615abf.tar.gz librambutan-edbf9e113f65dc0f498db1d6152e3bf499615abf.zip |
hardwarespi: Fix HardwareSPI::transmit() -> HardwareSPI::transfer()
Diffstat (limited to 'source/lang/api')
-rw-r--r-- | source/lang/api/hardwarespi.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lang/api/hardwarespi.rst b/source/lang/api/hardwarespi.rst index 054d1a8..3e71fb6 100644 --- a/source/lang/api/hardwarespi.rst +++ b/source/lang/api/hardwarespi.rst @@ -99,7 +99,7 @@ receive data using ``HardwareSPI::read()``, and do both using Get the next available, unread byte. If there aren't any unread bytes, this function will wait until one is received. -.. cpp:function:: byte HardwareSPI::transmit(byte data) +.. cpp:function:: byte HardwareSPI::transfer(byte data) Send a byte, then return the next byte received. |