aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-05-15 14:20:14 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-05-15 14:20:14 +0000
commit1c3d2376a653b643d40b09ba0298e0420e0e3140 (patch)
treec2e217c6c0795e6ceabe78388eb1e1b669c9cd57 /src
parent04faaf563c8c86f21ccfe85690ed6de33070e9fb (diff)
downloadChibiOS-1c3d2376a653b643d40b09ba0298e0420e0e3140.tar.gz
ChibiOS-1c3d2376a653b643d40b09ba0298e0420e0e3140.tar.bz2
ChibiOS-1c3d2376a653b643d40b09ba0298e0420e0e3140.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@971 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src')
-rw-r--r--src/include/channels.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/channels.h b/src/include/channels.h
index 791572b75..a1c538f62 100644
--- a/src/include/channels.h
+++ b/src/include/channels.h
@@ -151,7 +151,7 @@ typedef struct {
* @return A byte value from the queue or:
* @retval Q_RESET if the channel associated queue (if any) was reset.
*/
-#define chIOGet(ip) ((ip)->vmt->m0.put(ip, TIME_INFINITE))
+#define chIOGet(ip) ((ip)->vmt->m0.get(ip, TIME_INFINITE))
/**
* @brief Channel blocking byte read with timeout.
@@ -168,7 +168,7 @@ typedef struct {
* @retval Q_TIMEOUT if the specified time expired.
* @retval Q_RESET if the channel associated queue (if any) was reset.
*/
-#define chIOGetTimeout(ip, timeout) ((ip)->vmt->m0.put(ip, timeout))
+#define chIOGetTimeout(ip, timeout) ((ip)->vmt->m0.get(ip, timeout))
#if CH_USE_EVENTS
/**