mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-16 01:02:32 +03:00
389ff92cc1
* Makefile, Scripts: new linter * About: remove ID from IC * Firmware: remove double define for DIVC/DIVR * Scripts: check folder names too. Docker: replace syntax check with make lint. * Reformat Sources and Migrate to new file naming convention * Docker: symlink clang-format-12 to clang-format * Add coding style guide
21 lines
408 B
C
21 lines
408 B
C
#include "storage_sd_api.h"
|
|
|
|
const char* sd_api_get_fs_type_text(SDFsType fs_type) {
|
|
switch(fs_type) {
|
|
case(FST_FAT12):
|
|
return "FAT12";
|
|
break;
|
|
case(FST_FAT16):
|
|
return "FAT16";
|
|
break;
|
|
case(FST_FAT32):
|
|
return "FAT32";
|
|
break;
|
|
case(FST_EXFAT):
|
|
return "EXFAT";
|
|
break;
|
|
default:
|
|
return "UNKNOWN";
|
|
break;
|
|
}
|
|
} |