mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-29 04:30:20 +03:00
add some comments on the conf_func members
This commit is contained in:
@@ -9,9 +9,13 @@
|
|||||||
* Internal variables
|
* Internal variables
|
||||||
*------------------------------------------------------------------------------*/
|
*------------------------------------------------------------------------------*/
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
/* static initialization, called whether or not the usb config is active */
|
||||||
void (* configure) ( void );
|
void (* configure) ( void );
|
||||||
|
/* initialization function after the config was selected */
|
||||||
void (* init) ( void );
|
void (* init) ( void );
|
||||||
|
/* de-initialization before selecting new config */
|
||||||
void (* exit) ( void );
|
void (* exit) ( void );
|
||||||
|
/* main loop content for given configuration */
|
||||||
void (* run) ( void );
|
void (* run) ( void );
|
||||||
} conf_func;
|
} conf_func;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user