use enum for drive numbers

This commit is contained in:
Christoph Baumann committed 2025-04-22 14:15:45 +02:00
1 parent 5798dcde0d
commit fe5e4dc40a
4 files changed
+39 -43

No files matched your search

+7 -4
View File
@@ -300,9 +300,12 @@
/ SemaphoreHandle_t and etc. A header file for O/S definitions needs to be
/ included somewhere in the scope of ff.h. */
#define FF_DEV_BOOT1 1
#define FF_DEV_BOOT1_1MB 2
#define FF_DEV_SD 0
#define FF_DEV_GPP 3
typedef enum {
DRIVE_SD = 0,
DRIVE_BOOT1 = 1,
DRIVE_BOOT1_1MB = 2,
DRIVE_EMMC = 3,
} DDRIVE;
/*--- End of configuration options ---*/