add some comments on the conf_func members

This commit is contained in:
Harald Welte
2015-11-07 18:18:47 +01:00
parent 89690c98dd
commit 15d72cc631

View File

@@ -9,9 +9,13 @@
* Internal variables
*------------------------------------------------------------------------------*/
typedef struct {
/* static initialization, called whether or not the usb config is active */
void (* configure) ( void );
/* initialization function after the config was selected */
void (* init) ( void );
/* de-initialization before selecting new config */
void (* exit) ( void );
/* main loop content for given configuration */
void (* run) ( void );
} conf_func;