mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-14 10:28:54 +00:00
V1.0.5
This commit is contained in:
@@ -25,7 +25,6 @@ extern "C" {
|
||||
#define DEVICE_TYPE_SPINOR_DISK ((const void *)3) /* SPINOR */
|
||||
#define DEVICE_TYPE_RAM_DISK ((const void *)4) /* RAM */
|
||||
#define DTL(x) (long)(x)
|
||||
#define GET_DEVICE_TYPE (0)
|
||||
|
||||
struct elm_dev_info {
|
||||
char *dev_name;
|
||||
|
||||
@@ -48,6 +48,8 @@ DRESULT disk_ioctl (BYTE pdrv, BYTE cmd, void* buff);
|
||||
#define GET_SECTOR_SIZE 2 /* Get sector size (needed at FF_MAX_SS != FF_MIN_SS) */
|
||||
#define GET_BLOCK_SIZE 3 /* Get erase block size (needed at FF_USE_MKFS == 1) */
|
||||
#define CTRL_TRIM 4 /* Inform device that the data on the block of sectors is no longer used (needed at FF_USE_TRIM == 1) */
|
||||
#define GET_DEVICE_TYPE 5 /* Get device type for ArtInChip */
|
||||
|
||||
|
||||
/* Generic command (Not used by FatFs) */
|
||||
#define CTRL_POWER 5 /* Get/Set power status */
|
||||
|
||||
Reference in New Issue
Block a user