diff options
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. |