diff options
Diffstat (limited to 'os')
-rw-r--r-- | os/kernel/include/chioch.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/kernel/include/chioch.h b/os/kernel/include/chioch.h index f8a1f4f98..6c7380498 100644 --- a/os/kernel/include/chioch.h +++ b/os/kernel/include/chioch.h @@ -189,7 +189,7 @@ typedef struct { * @return The number of bytes transferred.
*/
#define chIOWriteTimeout(ip, bp, n, time) \
- ((ip)->vmt->write(ip, bp, n, time))
+ ((ip)->vmt->writet(ip, bp, n, time))
/**
* @brief Channel blocking read with timeout.
@@ -207,7 +207,7 @@ typedef struct { * @return The number of bytes transferred.
*/
#define chIOReadTimeout(ip, bp, n, time) \
- ((ip)->vmt->read(ip, bp, n, time))
+ ((ip)->vmt->readt(ip, bp, n, time))
#if CH_USE_EVENTS
/**
|