Fix some warnings/errors detected by nuttx/tools/testbuilds.sh
This commit is contained in:
parent
7df472031d
commit
2fb2bd0f99
@ -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
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user