rename struct mode to _screen_mode resp. ScreenMode to keep Doxygen happy

This commit is contained in:
marschap
2008-12-21 17:24:48 +00:00
parent 969e1369c0
commit 02d2bca304
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -82,8 +82,8 @@ static int process_configfile(char *cfgfile);
#define DEFAULT_REPORTDEST RPT_DEST_STDERR
#define DEFAULT_REPORTLEVEL RPT_WARNING
/* list of modes to run */
mode sequence[] =
/* list of screen modes to run */
ScreenMode sequence[] =
{
// flags default ACTIVE will run by default
// longname which on off inv timer flags
+2 -2
View File
@@ -30,7 +30,7 @@ extern int lcd_hgt;
extern int lcd_cellwid;
extern int lcd_cellhgt;
typedef struct mode
typedef struct _screen_mode
{
char *longname; // Which screen is it?
char which; // Which screen is it?
@@ -40,7 +40,7 @@ typedef struct mode
int timer; // Time since last update
int flags; // bit 1 visible, bit 2 selected for display, bit 3 first
int (*func)(int,int,int *); // function pointer
} mode;
} ScreenMode;
//mode flags
#define VISIBLE 0x00000001 //currently visible
+1 -1
View File
@@ -41,7 +41,7 @@ mode_close(void)
}
int
update_screen(mode *m, int display)
update_screen(ScreenMode *m, int display)
{
static int status = -1;
int old_status = status;
+1 -1
View File
@@ -7,7 +7,7 @@
int mode_init(void);
void mode_close(void);
int update_screen(mode * m, int display);
int update_screen(ScreenMode *m, int display);
int credit_screen(int rep, int display, int *flags_ptr);