Changeset 630 for trunk/kernel/fs/fatfs.c
- Timestamp:
- May 21, 2019, 6:00:06 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/fs/fatfs.c
r628 r630 1404 1404 1405 1405 #if (DEBUG_FATFS_ADD_DENTRY & 1) 1406 cycle = (uint32_t)hal_get_cycles(); 1406 1407 if( DEBUG_FATFS_ADD_DENTRY < cycle ) 1407 printk("\n[%s] FSM step = %d / offset = %x / nb_lfn = %d \n",1408 __FUNCTION__, step, offset, nb_lfn );1408 printk("\n[%s] FSM step = %d / offset = %x / nb_lfn = %d / cycle %d\n", 1409 __FUNCTION__, step, offset, nb_lfn, cycle ); 1409 1410 #endif 1410 1411 … … 1533 1534 } // exit while 1534 1535 1536 #if (DEBUG_FATFS_ADD_DENTRY & 1) 1537 cycle = (uint32_t)hal_get_cycles(); 1538 if( DEBUG_FATFS_ADD_DENTRY < cycle ) 1539 printk("\n[%s] thread[%x,%x] before IOC access / cycle %d\n", 1540 __FUNCTION__, this->process->pid, this->trdid, cycle ); 1541 #endif 1542 1535 1543 // copy the modified page to the IOC device 1536 1544 fatfs_move_page( page_xp , IOC_SYNC_WRITE );
Note: See TracChangeset
for help on using the changeset viewer.