diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-02 19:31:30 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-02 19:31:30 +0000 |
commit | 60185fe969614b01d5dc57f3aa157b24d2901af6 (patch) | |
tree | d63a6a6a97cae8d4fe62b41e900fbcd5c29aceaf /nuttx/fs/fat/fs_configfat.c | |
parent | f1851b468b62b448a0d9ed343d4ca8b9987e0d53 (diff) | |
download | px4-nuttx-60185fe969614b01d5dc57f3aa157b24d2901af6.tar.gz px4-nuttx-60185fe969614b01d5dc57f3aa157b24d2901af6.tar.bz2 px4-nuttx-60185fe969614b01d5dc57f3aa157b24d2901af6.zip |
New interface task_spawn(); exec_builtin() now uses task_spawn(); All argv types should be char * const * not const char **
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5598 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/fat/fs_configfat.c')
-rw-r--r-- | nuttx/fs/fat/fs_configfat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/fs/fat/fs_configfat.c b/nuttx/fs/fat/fs_configfat.c index 04141ee2b..d0365b0e6 100644 --- a/nuttx/fs/fat/fs_configfat.c +++ b/nuttx/fs/fat/fs_configfat.c @@ -450,7 +450,7 @@ mkfatfs_tryfat12(FAR struct fat_format_s *fmt, FAR struct fat_var_s *var, * maxnclusters = nfatsects * sectorsize / 1.5 - 2 */ - maxnclusters = (config->fc_nfatsects >> (var->fv_sectshift + 1)) / 3; + maxnclusters = (config->fc_nfatsects << (var->fv_sectshift + 1)) / 3; if (maxnclusters > FAT_MAXCLUST12) { maxnclusters = FAT_MAXCLUST12; |