Config variables for flame
This commit is contained in:
parent
5dacadbb3e
commit
2d3d2af051
|
@ -11,6 +11,7 @@
|
||||||
|
|
||||||
struct CDESC the_config[]= {
|
struct CDESC the_config[]= {
|
||||||
{"version", CFGVER, CFGVER, CFGVER},
|
{"version", CFGVER, CFGVER, CFGVER},
|
||||||
|
// dflt min max
|
||||||
{"privacy", 3, 0, 2 },
|
{"privacy", 3, 0, 2 },
|
||||||
{"daytrig", 310/2, 0, 255},
|
{"daytrig", 310/2, 0, 255},
|
||||||
{"daytrighyst", 10, 0, 50 },
|
{"daytrighyst", 10, 0, 50 },
|
||||||
|
@ -19,6 +20,11 @@ struct CDESC the_config[]= {
|
||||||
{"lcdmirror", 0, 0, 1 },
|
{"lcdmirror", 0, 0, 1 },
|
||||||
{"lcdinvert", 0, 0, 1 },
|
{"lcdinvert", 0, 0, 1 },
|
||||||
{"lcdcontrast", 3, 0, 31 },
|
{"lcdcontrast", 3, 0, 31 },
|
||||||
|
{"flamemax", 255, 0, 255},
|
||||||
|
{"flamemin", 0, 0, 255},
|
||||||
|
{"flamespeed", 1, 1, 100},
|
||||||
|
{"flamemaxw", 255, 1, 255},
|
||||||
|
{"flameminw", 0x8f, 1, 255},
|
||||||
{ NULL, 0, 0, 0 },
|
{ NULL, 0, 0, 0 },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,11 @@ extern char nickfont[];
|
||||||
#define GLOBALlcdmirror (the_config[6].value)
|
#define GLOBALlcdmirror (the_config[6].value)
|
||||||
#define GLOBALlcdinvert (the_config[7].value)
|
#define GLOBALlcdinvert (the_config[7].value)
|
||||||
#define GLOBALlcdcontrast (the_config[8].value)
|
#define GLOBALlcdcontrast (the_config[8].value)
|
||||||
|
#define GLOBALflamemax (the_config[9].value)
|
||||||
|
#define GLOBALflamemin (the_config[10].value)
|
||||||
|
#define GLOBALflamespeed (the_config[11].value)
|
||||||
|
#define GLOBALflamemaxw (the_config[12].value)
|
||||||
|
#define GLOBALflameminw (the_config[13].value)
|
||||||
#define GLOBALnickname (nickname)
|
#define GLOBALnickname (nickname)
|
||||||
#define GLOBALnickfont (nickfont)
|
#define GLOBALnickfont (nickfont)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue