rename msc menu.

Also add some random unused sample code for images
This commit is contained in:
Stefan `Sec` Zehl 2011-08-05 01:58:44 +02:00
parent 4836f5b8f5
commit be448224ed
1 changed files with 22 additions and 1 deletions

View File

@ -6,15 +6,19 @@
#include "lcd/render.h"
#include "lcd/print.h"
#include "lcd/image.h"
#include "usb/usbmsc.h"
#include "filesystem/ff.h"
#include "filesystem/select.h"
#include "core/iap/iap.h"
/**************************************************************************/
//# MENU msc
//# MENU usb_storage
void msc_menu(void){
lcdClear();
lcdPrintln("MSC Enabled.");
@ -46,3 +50,20 @@ void tick_alive(void){
return;
};
// //# MENU img img
void t_img(void){
char fname[FILENAMELEN];
selectFile(fname, "LCD");
lcdLoadImage(fname);
lcdRefresh();
getInputWait();
};
// //# MENU img anim
void t_ani(void){
char fname[FILENAMELEN];
selectFile(fname, "LCD");
lcdShowAnim(fname,1000);
};