コード例 #1
0
ファイル: api_misc.c プロジェクト: yenmuse/ucosx86
int FS_Init(void) {
  int x;
  
  x = FS_X_OS_Init();  /* Init the OS, e.g. create semaphores  */
#if FS_USE_FAT_FSL
  if (x == 0) {
    FS__fat_block_init(); /* Init the FAT layers memory pool */
  }
#endif
  return x;
}
コード例 #2
0
ファイル: FsWrap_.c プロジェクト: beartan/q-sys
FS_i32 FS_Init(void) 
{
	FS_i32 i = _VOLUMES;
    /* Register work area for logical drives */
	for(i=0;i<_VOLUMES;i++)
	{
    	f_mount(i, &fs[i]);
	}
#ifndef __BOOT__	
	FS_X_OS_Init ( );
#endif
   return 0;
}