Remove broken chargeled feature

This commit is contained in:
Stefan `Sec` Zehl 2011-08-11 09:22:22 +02:00
parent f2835cc5ce
commit 63d3a3687a
3 changed files with 4 additions and 1 deletions

View File

@ -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;

View File

@ -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},
};

View File

@ -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[];