Remove broken chargeled feature
This commit is contained in:
parent
f2835cc5ce
commit
63d3a3687a
|
@ -108,6 +108,7 @@ void tick_default(void) {
|
|||
|
||||
|
||||
EVERY(50,0){
|
||||
/*
|
||||
if(GLOBAL(chargeled)){
|
||||
IOCON_PIO1_11 = 0x0;
|
||||
gpioSetDir(RB_LED3, gpioDirection_Output);
|
||||
|
@ -116,6 +117,7 @@ void tick_default(void) {
|
|||
else
|
||||
gpioSetValue (RB_LED3, 0);
|
||||
};
|
||||
*/
|
||||
|
||||
if(GetVoltage()<3600){
|
||||
IOCON_PIO1_11 = 0x0;
|
||||
|
|
|
@ -28,7 +28,7 @@ struct CDESC the_config[]= {
|
|||
{"flamemaxw", 255, 1, 255, 1, CFG_TYPE_FLAME},
|
||||
{"flameminw", 0x8f, 1, 255, 1, CFG_TYPE_FLAME},
|
||||
{"l0nick", 0, 0, 1 , 0, 0},
|
||||
{"chargeled", 0, 0, 1 , 0, 0},
|
||||
{"chargeled", 0, 0, 1 , 0, CFG_TYPE_GONE},
|
||||
{"positionleds", 0, 0, 1 , 0, 0},
|
||||
{ NULL, 0, 0, 0 , 0, 0},
|
||||
};
|
||||
|
|
|
@ -18,6 +18,7 @@ struct CDESC {
|
|||
#define CFG_TYPE_BASIC 0
|
||||
#define CFG_TYPE_DEVEL 1
|
||||
#define CFG_TYPE_FLAME 2
|
||||
#define CFG_TYPE_GONE 3
|
||||
|
||||
#define MAXNICK 17
|
||||
extern struct CDESC the_config[];
|
||||
|
|
Loading…
Reference in New Issue