Changeset 434 for EcnlProtoTool/trunk/ntshell/fatfs/diskio.c
- Timestamp:
- Jul 5, 2020, 10:12:16 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
EcnlProtoTool/trunk/ntshell/fatfs/diskio.c
r321 r434 35 35 int get_status(volatile RD_STAT *stat) { 36 36 stat->sz_sector = SS_RAMDISK; 37 if(stat->sz_sector < _MIN_SS || stat->sz_sector >_MAX_SS) return 0;37 if(stat->sz_sector < FF_MIN_SS || stat->sz_sector > FF_MAX_SS) return 0; 38 38 stat->n_sectors = SZ_RAMDISK * 1024 / SS_RAMDISK; 39 39 stat->status = 0;
Note:
See TracChangeset
for help on using the changeset viewer.