cleanup a bit

This commit is contained in:
Stefan `Sec` Zehl 2011-08-01 23:50:58 +02:00
parent 5a6be961a0
commit 42fd4f116c
1 changed files with 1 additions and 14 deletions

View File

@ -27,18 +27,6 @@ void f_init(void){
UINT readbytes;
int res;
nrf_init();
struct NRF_CFG config = {
.channel= 81,
.txmac= "REMOT",
.nrmacs=1,
.mac0= "REMOT",
.maclen ="\x10",
};
nrf_config_set(&config);
res=f_open(&file[0], "nick.cfg", FA_OPEN_EXISTING|FA_READ);
lcdPrint("open:");
lcdPrintln(f_get_rc_string(res));
@ -79,7 +67,6 @@ void f_init(void){
char fontname[15];
void f_nick(void){
static char ctr=0;
char key;
static signed char x=10;
static signed char y=10;
@ -97,6 +84,7 @@ void f_nick(void){
lcdPrint("x");
lcdPrintInt(y);
lcdDisplay();
delayms(40);
@ -117,7 +105,6 @@ void f_nick(void){
lcdClear();
lcdPrintln("Done.");
lcdDisplay();
ctr++;
break;
};
};