git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2080 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
7b372855ac
commit
99badd5494
|
@ -42,7 +42,7 @@
|
|||
* @brief @p BaseChannel specific methods.
|
||||
*/
|
||||
#define _base_channel_methods \
|
||||
_base_sequental_stream_methods \
|
||||
_base_sequential_stream_methods \
|
||||
/* Channel output check.*/ \
|
||||
bool_t (*putwouldblock)(void *instance); \
|
||||
/* Channel input check.*/ \
|
||||
|
@ -63,7 +63,7 @@
|
|||
* implementation.
|
||||
*/
|
||||
#define _base_channel_data \
|
||||
_base_sequental_stream_data
|
||||
_base_sequential_stream_data
|
||||
|
||||
/**
|
||||
* @brief @p BaseChannel virtual methods table.
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
/**
|
||||
* @brief BaseSequentialStream specific methods.
|
||||
*/
|
||||
#define _base_sequental_stream_methods \
|
||||
#define _base_sequential_stream_methods \
|
||||
/* Stream write buffer method.*/ \
|
||||
size_t (*write)(void *instance, const uint8_t *bp, size_t n); \
|
||||
/* Stream read buffer method.*/ \
|
||||
|
@ -52,13 +52,13 @@
|
|||
* @note It is empty because @p BaseSequentialStream is only an interface
|
||||
* without implementation.
|
||||
*/
|
||||
#define _base_sequental_stream_data
|
||||
#define _base_sequential_stream_data
|
||||
|
||||
/**
|
||||
* @brief @p BaseSequentialStream virtual methods table.
|
||||
*/
|
||||
struct BaseSequentialStreamVMT {
|
||||
_base_sequental_stream_methods
|
||||
_base_sequential_stream_methods
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -69,7 +69,7 @@ struct BaseSequentialStreamVMT {
|
|||
typedef struct {
|
||||
/** @brief Virtual Methods Table.*/
|
||||
const struct BaseSequentialStreamVMT *vmt;
|
||||
_base_sequental_stream_data
|
||||
_base_sequential_stream_data
|
||||
} BaseSequentialStream;
|
||||
|
||||
/**
|
||||
|
|
|
@ -61,6 +61,8 @@
|
|||
*****************************************************************************
|
||||
|
||||
*** 2.1.1 ***
|
||||
- FIX: Fixed misspelled word in some chioch.h and chstreams.h macros (bug
|
||||
3031534)(backported to 2.0.3).
|
||||
- FIX: Fixed wrong macro check in the STM32 SPI driver (bug 3028562)(backported
|
||||
to 2.0.3).
|
||||
- FIX: Fixed invalid context restore in MSP430 port (bug 3027975)(backported
|
||||
|
|
Loading…
Reference in New Issue