fix compile errors
This commit is contained in:
@@ -9,24 +9,27 @@
|
||||
#include "../storage/sdmmc.h"
|
||||
#include "graphics.h"
|
||||
|
||||
void meme_main(bool sdinit){
|
||||
extern bool sd_mount();
|
||||
|
||||
void meme_main(){
|
||||
utils_gfx_init();
|
||||
//static const u32 colors[7] = {COLOR_RED, COLOR_ORANGE, COLOR_YELLOW, COLOR_GREEN, COLOR_BLUE, COLOR_VIOLET, COLOR_DEFAULT};
|
||||
//gfx_printf("%k%pTegraExplorer, made by SuchMemeManySkill \n%k%p", colors[6], colors[3], colors[3], colors[6]);
|
||||
/*
|
||||
|
||||
sdmmc_storage_t storage;
|
||||
sdmmc_t sdmmc;
|
||||
|
||||
sdmmc_storage_init_mmc(&storage, &sdmmc, SDMMC_4, SDMMC_BUS_WIDTH_8, 4);
|
||||
sdmmc_storage_set_mmc_partition(&storage, 1);
|
||||
*/
|
||||
//f_rename("sd:/yeet.txt", "sd:/yote.txt");
|
||||
|
||||
|
||||
//f_rename("sd:/yeet.txt", "sd:/yote.txt");
|
||||
bool sd_mounted = false;
|
||||
sd_mounted = sd_mount();
|
||||
|
||||
char *itemsinfolder[500];
|
||||
unsigned int muhbits[500];
|
||||
|
||||
if (sdinit){
|
||||
if (sd_mounted){
|
||||
sdexplorer(itemsinfolder, muhbits);
|
||||
|
||||
//write file and folder menu
|
||||
|
||||
Reference in New Issue
Block a user