crashtest-r0ket/firmware/applications/final.c

39 lines
663 B
C
Raw Normal View History

#include <sysinit.h>
#include "basic/basic.h"
#include "lcd/print.h"
#include <string.h>
2011-08-03 08:54:22 +00:00
#include "basic/ecc.h"
/**************************************************************************/
#include "final.gen"
void init_nick();
void fancyNickname();
void main_final(void) {
//checkFirstBoot();
init_final();
2011-08-02 18:49:55 +00:00
menuflags|=MENU_TIMEOUT;
while(1){
#ifndef FINAL
if(getInputRaw()==BTN_LEFT)
ISPandReset();
#endif
if(getInput()){
handleMenu(&mainmenu);
getInputWaitRelease();
init_nick();
};
2011-08-02 19:01:27 +00:00
work_queue();
fancyNickname();
};
};
void tick_final(void);