aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/hal_streams.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-11-04 10:59:39 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-11-04 10:59:39 +0000
commit3d2ebf13f5b01f802fae0afec8651cde4c121be8 (patch)
tree60ea13bd6873e9d2402c2152343d5167307019d0 /os/hal/include/hal_streams.h
parent8d459a2883886b0750198fc370ce02cd0f4228df (diff)
downloadChibiOS-3d2ebf13f5b01f802fae0afec8651cde4c121be8.tar.gz
ChibiOS-3d2ebf13f5b01f802fae0afec8651cde4c121be8.tar.bz2
ChibiOS-3d2ebf13f5b01f802fae0afec8651cde4c121be8.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6414 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include/hal_streams.h')
-rw-r--r--os/hal/include/hal_streams.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/os/hal/include/hal_streams.h b/os/hal/include/hal_streams.h
index d19b49a8d..e18a7e461 100644
--- a/os/hal/include/hal_streams.h
+++ b/os/hal/include/hal_streams.h
@@ -90,6 +90,8 @@ typedef struct {
_base_sequential_stream_data
} BaseSequentialStream;
+#endif /* !defined(_CHIBIOS_RT_)*/
+
/**
* @name Macro Functions (BaseSequentialStream)
* @{
@@ -107,7 +109,7 @@ typedef struct {
*
* @api
*/
-#define streamSequentialStreamWrite(ip, bp, n) ((ip)->vmt->write(ip, bp, n))
+#define streamWrite(ip, bp, n) ((ip)->vmt->write(ip, bp, n))
/**
* @brief Sequential Stream read.
@@ -122,7 +124,7 @@ typedef struct {
*
* @api
*/
-#define streamSequentialStreamRead(ip, bp, n) ((ip)->vmt->read(ip, bp, n))
+#define streamRead(ip, bp, n) ((ip)->vmt->read(ip, bp, n))
/**
* @brief Sequential Stream blocking byte write.
@@ -138,7 +140,7 @@ typedef struct {
*
* @api
*/
-#define streamSequentialStreamPut(ip, b) ((ip)->vmt->put(ip, b))
+#define streamPut(ip, b) ((ip)->vmt->put(ip, b))
/**
* @brief Sequential Stream blocking byte read.
@@ -152,11 +154,9 @@ typedef struct {
*
* @api
*/
-#define streamSequentialStreamGet(ip) ((ip)->vmt->get(ip))
+#define streamGet(ip) ((ip)->vmt->get(ip))
/** @} */
-#endif /* !defined(_CHIBIOS_RT_)*/
-
#endif /* _HAL_STREAMS_H_ */
/** @} */