mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Fix a couple of typos in recent commit. Found by David Sidrane
This commit is contained in:
+1
-1
@@ -300,7 +300,7 @@ int mkfatfs(FAR const char *pathname, FAR struct fat_format_s *fmt)
|
|||||||
|
|
||||||
#ifdef CONFIG_FAT_DMAMEMORY
|
#ifdef CONFIG_FAT_DMAMEMORY
|
||||||
var.fv_sect = (uint8_t*)fat_dma_alloc(var.fv_sectorsize);
|
var.fv_sect = (uint8_t*)fat_dma_alloc(var.fv_sectorsize);
|
||||||
+#else
|
#else
|
||||||
var.fv_sect = (uint8_t*)kmm_malloc(var.fv_sectorsize);
|
var.fv_sect = (uint8_t*)kmm_malloc(var.fv_sectorsize);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -171,7 +171,7 @@ extern "C"
|
|||||||
/* daylight - Daylight savings time flag */
|
/* daylight - Daylight savings time flag */
|
||||||
/* EXTERN int daylight; not supported */
|
/* EXTERN int daylight; not supported */
|
||||||
|
|
||||||
/* timezone - Difference from UTC and local standard time
|
/* timezone - Difference from UTC and local standard time */
|
||||||
/* EXTERN long int timezone; not supported */
|
/* EXTERN long int timezone; not supported */
|
||||||
|
|
||||||
/* tzname[] - Timezone strings */
|
/* tzname[] - Timezone strings */
|
||||||
|
|||||||
Reference in New Issue
Block a user