2011-08-02 00:10:15 +00:00
|
|
|
#include <sysinit.h>
|
|
|
|
|
|
|
|
#include "basic/basic.h"
|
|
|
|
|
|
|
|
#include "lcd/print.h"
|
|
|
|
|
|
|
|
#include <string.h>
|
|
|
|
|
|
|
|
/**************************************************************************/
|
|
|
|
|
|
|
|
#include "final.gen"
|
|
|
|
|
2011-08-02 11:31:57 +00:00
|
|
|
void init_nick();
|
2011-08-02 00:10:15 +00:00
|
|
|
void fancyNickname();
|
|
|
|
|
|
|
|
void main_final(void) {
|
|
|
|
//checkFirstBoot();
|
2011-08-02 11:31:57 +00:00
|
|
|
init_final();
|
2011-08-02 00:10:15 +00:00
|
|
|
|
|
|
|
while(1){
|
|
|
|
#ifndef FINAL
|
|
|
|
if(getInputRaw()==BTN_LEFT)
|
|
|
|
ISPandReset();
|
|
|
|
#endif
|
|
|
|
if(getInput()){
|
|
|
|
handleMenu(&mainmenu);
|
|
|
|
getInputWaitRelease();
|
2011-08-02 11:31:57 +00:00
|
|
|
init_nick();
|
2011-08-02 00:10:15 +00:00
|
|
|
};
|
|
|
|
fancyNickname();
|
|
|
|
delayms_queue(100);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
void tick_final(void);
|