From edbf9e113f65dc0f498db1d6152e3bf499615abf Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Wed, 27 Jul 2011 14:50:50 -0400 Subject: hardwarespi: Fix HardwareSPI::transmit() -> HardwareSPI::transfer() --- source/lang/api/hardwarespi.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') 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. -- cgit v1.2.3