git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2312 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
37e7834f45
commit
e5d3bdcf76
|
@ -46,6 +46,12 @@
|
|||
/* Driver data structures and types. */
|
||||
/*===========================================================================*/
|
||||
|
||||
|
||||
/**
|
||||
* @brief Type of a structure representing an XXX driver.
|
||||
*/
|
||||
typedef struct XXXDriver XXXDriver;
|
||||
|
||||
/**
|
||||
* @brief Driver configuration structure.
|
||||
* @note It could be empty on some architectures.
|
||||
|
@ -57,7 +63,7 @@ typedef struct {
|
|||
/**
|
||||
* @brief Structure representing an XXX driver.
|
||||
*/
|
||||
typedef struct {
|
||||
struct XXXDriver {
|
||||
/**
|
||||
* @brief Driver state.
|
||||
*/
|
||||
|
@ -67,7 +73,7 @@ typedef struct {
|
|||
*/
|
||||
const XXXConfig *xxx_config;
|
||||
/* End of the mandatory fields.*/
|
||||
} XXXDriver;
|
||||
};
|
||||
|
||||
/*===========================================================================*/
|
||||
/* Driver macros. */
|
||||
|
|
Loading…
Reference in New Issue