diff options
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/include/hal_channels.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/include/hal_channels.h b/os/hal/include/hal_channels.h index bd9a26c77..06198b5e1 100644 --- a/os/hal/include/hal_channels.h +++ b/os/hal/include/hal_channels.h @@ -143,7 +143,7 @@ typedef struct { *
* @api
*/
-#define chnWrite(ip, bp, n) chSequentialStreamWrite(ip, bp, n)
+#define chnWrite(ip, bp, n) streamSequentialStreamWrite(ip, bp, n)
/**
* @brief Channel blocking write with timeout.
@@ -177,7 +177,7 @@ typedef struct { *
* @api
*/
-#define chnRead(ip, bp, n) chSequentialStreamRead(ip, bp, n)
+#define chnRead(ip, bp, n) streamSequentialStreamRead(ip, bp, n)
/**
* @brief Channel blocking read with timeout.
|