mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-16 21:28:33 +03:00
add some comments on the conf_func members
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user