Fix a few compilation errors.
This commit is contained in:
parent
a1b80e12cf
commit
8de51543a4
|
@ -85,7 +85,9 @@
|
|||
void mmcsd_dmpcsd(FAR const uint8_t *csd, uint8_t cardtype)
|
||||
{
|
||||
bool mmc = (cardtype == MMCSD_CARDTYPE_MMC);
|
||||
#if defined(CONFIG_DEBUG_FS_INFO)
|
||||
bool sd2 = (MMCSD_CSD_CSDSTRUCT(csd) == 1);
|
||||
#endif
|
||||
|
||||
finfo("CSD\n");
|
||||
finfo(" CSD_STRUCTURE: 1.%d\n", MMCSD_CSD_CSDSTRUCT(csd));
|
||||
|
|
|
@ -47,6 +47,8 @@
|
|||
#include <nuttx/fs/fs.h>
|
||||
#include <nuttx/syslog/syslog.h>
|
||||
|
||||
#include "syslog.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Private Function Prototypes
|
||||
****************************************************************************/
|
||||
|
|
|
@ -54,6 +54,7 @@
|
|||
|
||||
#include <nuttx/kmalloc.h>
|
||||
#include <nuttx/pgalloc.h>
|
||||
#include <nuttx/progmem.h>
|
||||
#include <nuttx/mm/mm.h>
|
||||
#include <nuttx/fs/fs.h>
|
||||
#include <nuttx/fs/procfs.h>
|
||||
|
|
Loading…
Reference in New Issue