Merge branch 'master' of github.com:r0ket/r0ket
This commit is contained in:
commit
608885ea06
|
@ -5,6 +5,7 @@
|
||||||
#include "lcd/lcd.h"
|
#include "lcd/lcd.h"
|
||||||
#include "lcd/fonts/smallfonts.h"
|
#include "lcd/fonts/smallfonts.h"
|
||||||
#include "lcd/print.h"
|
#include "lcd/print.h"
|
||||||
|
#include "lcd/image.h"
|
||||||
#include "filesystem/ff.h"
|
#include "filesystem/ff.h"
|
||||||
#include "usb/usbmsc.h"
|
#include "usb/usbmsc.h"
|
||||||
#include "basic/random.h"
|
#include "basic/random.h"
|
||||||
|
@ -15,6 +16,11 @@
|
||||||
void main_default(void) {
|
void main_default(void) {
|
||||||
systickInit(SYSTICKSPEED);
|
systickInit(SYSTICKSPEED);
|
||||||
|
|
||||||
|
//show bootscreen
|
||||||
|
lcdClear();
|
||||||
|
lcdLoadImage("r0ket.lcd");
|
||||||
|
lcdRefresh();
|
||||||
|
|
||||||
switch(getInputRaw()){
|
switch(getInputRaw()){
|
||||||
case BTN_ENTER:
|
case BTN_ENTER:
|
||||||
ISPandReset();
|
ISPandReset();
|
||||||
|
|
|
@ -18,6 +18,7 @@ void init_nick();
|
||||||
void fancyNickname();
|
void fancyNickname();
|
||||||
|
|
||||||
void main_final(void) {
|
void main_final(void) {
|
||||||
|
init_nick();
|
||||||
if(GLOBAL(privacy)>2){ //firstboot
|
if(GLOBAL(privacy)>2){ //firstboot
|
||||||
if(execute_file("1boot.int",0,0)){
|
if(execute_file("1boot.int",0,0)){
|
||||||
lcdPrintln("Badge SETUP");
|
lcdPrintln("Badge SETUP");
|
||||||
|
|
Loading…
Reference in New Issue