Fix some warnings/errors detected by nuttx/tools/testbuilds.sh

This commit is contained in:
Gregory Nutt 2015-07-10 18:40:49 -06:00
parent 7df472031d
commit 2fb2bd0f99
2 changed files with 5 additions and 1 deletions

View File

@ -44,12 +44,15 @@
#include <debug.h>
#include <nuttx/board.h>
#include <arch/board/board.h>
#include "chip.h"
#include "sam_gpio.h"
#include "arduino-due.h"
/* The board.h file may override pin configurations defined in sam_pinmap.h */
#include <arch/board/board.h>
#ifdef CONFIG_ARCH_LEDS
/****************************************************************************

View File

@ -197,6 +197,7 @@ static inline int ov2640_camera_initialize(void)
actual = sam_pck_configure(PCK1, PCKSRC_MCK, OV2640_FREQUENCY);
gvdbg("Desired PCK1 frequency: %ld Actual: %ld\n",
(long)OV2640_FREQUENCY, (long)actual);
UNUSED(actual);
sam_pck_enable(PCK1, true);