Marlin 2.0 for Flying Bear 4S/5
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
209 B

#include "mks_wifi_sd.h"
#include "../../libs/fatfs/ff.h"
FRESULT result;
FATFS FATFS_Obj;
void mks_wifi_sd_init(void){
result = f_mount((FATFS *)&FATFS_Obj, "0", 1);
DEBUG("SD init %d",result);
}