Correct default for contrast setting.
Add alivecheck(systick blink) setting
This commit is contained in:
parent
999b3bd809
commit
3c3d1032c5
|
@ -7,7 +7,7 @@
|
||||||
#include "basic/random.h"
|
#include "basic/random.h"
|
||||||
#include "basic/config.h"
|
#include "basic/config.h"
|
||||||
|
|
||||||
#define CFGVER 24
|
#define CFGVER 1
|
||||||
|
|
||||||
struct CDESC the_config[]= {
|
struct CDESC the_config[]= {
|
||||||
{"version", CFGVER, CFGVER, CFGVER},
|
{"version", CFGVER, CFGVER, CFGVER},
|
||||||
|
@ -19,7 +19,8 @@ struct CDESC the_config[]= {
|
||||||
{"lcdbacklight", 50, 0, 100},
|
{"lcdbacklight", 50, 0, 100},
|
||||||
{"lcdmirror", 0, 0, 1 },
|
{"lcdmirror", 0, 0, 1 },
|
||||||
{"lcdinvert", 0, 0, 1 },
|
{"lcdinvert", 0, 0, 1 },
|
||||||
{"lcdcontrast", 3, 0, 31 },
|
{"lcdcontrast", 14, 0, 31 },
|
||||||
|
{"alivechk", 0, 0, 2 },
|
||||||
{"flamemax", 255, 0, 255},
|
{"flamemax", 255, 0, 255},
|
||||||
{"flamemin", 0, 0, 255},
|
{"flamemin", 0, 0, 255},
|
||||||
{"flamespeed", 1, 1, 100},
|
{"flamespeed", 1, 1, 100},
|
||||||
|
|
|
@ -27,11 +27,12 @@ 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 GLOBALalivechk (the_config[ 9].value)
|
||||||
#define GLOBALflamemin (the_config[10].value)
|
#define GLOBALflamemax (the_config[10].value)
|
||||||
#define GLOBALflamespeed (the_config[11].value)
|
#define GLOBALflamemin (the_config[11].value)
|
||||||
#define GLOBALflamemaxw (the_config[12].value)
|
#define GLOBALflamespeed (the_config[12].value)
|
||||||
#define GLOBALflameminw (the_config[13].value)
|
#define GLOBALflamemaxw (the_config[13].value)
|
||||||
|
#define GLOBALflameminw (the_config[14].value)
|
||||||
#define GLOBALnickname (nickname)
|
#define GLOBALnickname (nickname)
|
||||||
#define GLOBALnickfont (nickfont)
|
#define GLOBALnickfont (nickfont)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue