Changeset 374 for asp3_tinet_ecnl_arm/trunk/ntshell/fatfs/diskio.c
- Timestamp:
- Apr 5, 2019, 9:26:53 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
asp3_tinet_ecnl_arm/trunk/ntshell/fatfs/diskio.c
r352 r374 34 34 int get_status(volatile RD_STAT *stat) { 35 35 stat->sz_sector = SS_RAMDISK; 36 if(stat->sz_sector < _MIN_SS || stat->sz_sector >_MAX_SS) return 0;36 if(stat->sz_sector < FF_MIN_SS || stat->sz_sector > FF_MAX_SS) return 0; 37 37 stat->n_sectors = SZ_RAMDISK * 1024 / SS_RAMDISK; 38 38 stat->status = 0;
Note:
See TracChangeset
for help on using the changeset viewer.