diff --git a/os/hal/templates/meta/driver.h b/os/hal/templates/meta/driver.h index b4b07170b..2af95b010 100644 --- a/os/hal/templates/meta/driver.h +++ b/os/hal/templates/meta/driver.h @@ -56,6 +56,11 @@ typedef enum { XXX_READY = 2, /**< Ready. */ } xxxstate_t; +/** + * @brief Type of a structure representing a XXX driver. + */ +typedef struct XXXDriver XXXDriver; + #include "xxx_lld.h" /*===========================================================================*/