Changeset 90 for ctrl/firmware/Main/SES/Core
- Timestamp:
- Feb 12, 2025, 3:03:55 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ctrl/firmware/Main/SES/Core/Src/main_task.cpp
r87 r90 21 21 //UINT ret; 22 22 23 static FATFS fs;// __attribute__((section(".AXI_RAM"))); // Filesystem object24 25 23 FRESULT scan_files (TCHAR* path); 26 24 FRESULT list_dir (const char* path); … … 37 35 //MX_LWIP_Init(); 38 36 39 FRESULT r = f_mount(& fs, (const TCHAR*)"", 1); // Mount the default drive37 FRESULT r = f_mount(&SDFatFS, SDPath, 1); // Mount the default drive 40 38 if (r != FR_OK) printf("Cannot mount SD-card!\n"); 41 39 else … … 46 44 strcpy (buff, "/"); 47 45 list_dir(buff); 46 } 47 48 r = f_mount(&EEPROMFatFS, EEPROMPath, 1); // Mount the default drive 49 if (r != FR_OK) printf("Cannot mount EEPROM FS!\n"); 50 else 51 { 52 printf("EEPROM FS was mounted.\n"); 53 48 54 } 49 55
Note: See TracChangeset
for help on using the changeset viewer.