rename msc menu.
Also add some random unused sample code for images
This commit is contained in:
parent
4836f5b8f5
commit
be448224ed
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue