39 lines
663 B
C
39 lines
663 B
C
#include <sysinit.h>
|
|
|
|
#include "basic/basic.h"
|
|
|
|
#include "lcd/print.h"
|
|
|
|
#include <string.h>
|
|
|
|
#include "basic/ecc.h"
|
|
|
|
/**************************************************************************/
|
|
|
|
#include "final.gen"
|
|
|
|
void init_nick();
|
|
void fancyNickname();
|
|
|
|
void main_final(void) {
|
|
//checkFirstBoot();
|
|
init_final();
|
|
menuflags|=MENU_TIMEOUT;
|
|
|
|
while(1){
|
|
#ifndef FINAL
|
|
if(getInputRaw()==BTN_LEFT)
|
|
ISPandReset();
|
|
#endif
|
|
if(getInput()){
|
|
handleMenu(&mainmenu);
|
|
getInputWaitRelease();
|
|
init_nick();
|
|
};
|
|
work_queue();
|
|
fancyNickname();
|
|
};
|
|
};
|
|
|
|
void tick_final(void);
|