Fix a few compilation errors.

This commit is contained in:
Michał Łyszczek
2018-04-20 15:55:16 -06:00
committed by Gregory Nutt
parent a1b80e12cf
commit 8de51543a4
3 changed files with 5 additions and 0 deletions
+2
View File
@@ -85,7 +85,9 @@
void mmcsd_dmpcsd(FAR const uint8_t *csd, uint8_t cardtype) void mmcsd_dmpcsd(FAR const uint8_t *csd, uint8_t cardtype)
{ {
bool mmc = (cardtype == MMCSD_CARDTYPE_MMC); bool mmc = (cardtype == MMCSD_CARDTYPE_MMC);
#if defined(CONFIG_DEBUG_FS_INFO)
bool sd2 = (MMCSD_CSD_CSDSTRUCT(csd) == 1); bool sd2 = (MMCSD_CSD_CSDSTRUCT(csd) == 1);
#endif
finfo("CSD\n"); finfo("CSD\n");
finfo(" CSD_STRUCTURE: 1.%d\n", MMCSD_CSD_CSDSTRUCT(csd)); finfo(" CSD_STRUCTURE: 1.%d\n", MMCSD_CSD_CSDSTRUCT(csd));
+2
View File
@@ -47,6 +47,8 @@
#include <nuttx/fs/fs.h> #include <nuttx/fs/fs.h>
#include <nuttx/syslog/syslog.h> #include <nuttx/syslog/syslog.h>
#include "syslog.h"
/**************************************************************************** /****************************************************************************
* Private Function Prototypes * Private Function Prototypes
****************************************************************************/ ****************************************************************************/
+1
View File
@@ -54,6 +54,7 @@
#include <nuttx/kmalloc.h> #include <nuttx/kmalloc.h>
#include <nuttx/pgalloc.h> #include <nuttx/pgalloc.h>
#include <nuttx/progmem.h>
#include <nuttx/mm/mm.h> #include <nuttx/mm/mm.h>
#include <nuttx/fs/fs.h> #include <nuttx/fs/fs.h>
#include <nuttx/fs/procfs.h> #include <nuttx/fs/procfs.h>