Clean up typos in some comments.
This commit is contained in:
parent
1b8a2aed08
commit
c137c6ef1f
@ -117,7 +117,7 @@
|
||||
#define SMART_FIRST_DIR_SECTOR 3 /* First root directory sector */
|
||||
#define SMART_FIRST_ALLOC_SECTOR 12 /* First logical sector number we will
|
||||
* use for assignment of requested Alloc
|
||||
* sectors. All enries below this are
|
||||
* sectors. All entries below this are
|
||||
* reserved (some for root dir entries,
|
||||
* other for our use, such as format
|
||||
* sector, etc. */
|
||||
@ -128,7 +128,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_MTD_SMART_SECTOR_SIZE
|
||||
# define CONFIG_MTD_SMART_SECTOR_SIZE 1024
|
||||
# define CONFIG_MTD_SMART_SECTOR_SIZE 1024
|
||||
#endif
|
||||
|
||||
#ifndef offsetof
|
||||
@ -136,7 +136,6 @@
|
||||
#endif
|
||||
|
||||
#define SMART_MAX_ALLOCS 10
|
||||
//#define CONFIG_MTD_SMART_PACK_COUNTS
|
||||
|
||||
#ifndef CONFIG_MTD_SMART_ALLOC_DEBUG
|
||||
#define smart_malloc(d, b, n) kmm_malloc(b)
|
||||
|
@ -160,8 +160,7 @@ static const struct file_operations rtc_fops =
|
||||
static void rtc_destroy(FAR struct rtc_upperhalf_s *upper)
|
||||
{
|
||||
/* If the lower half driver provided a destroy method, then call that
|
||||
* method now in order order to clean up resources used by the lower-half
|
||||
* driver.
|
||||
* method now in order to clean up resources used by the lower-half driver.
|
||||
*/
|
||||
|
||||
DEBUGASSERT(upper->lower && upper->lower->ops);
|
||||
|
Loading…
Reference in New Issue
Block a user