mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
Remove unused LED definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3028 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -40,16 +40,6 @@
|
|||||||
|
|
||||||
#include <nuttx/config.h>
|
#include <nuttx/config.h>
|
||||||
|
|
||||||
#include <stdint.h>
|
|
||||||
#include <stdbool.h>
|
|
||||||
#include <debug.h>
|
|
||||||
|
|
||||||
#include <arch/board/board.h>
|
|
||||||
|
|
||||||
#include "chip.h"
|
|
||||||
#include "up_arch.h"
|
|
||||||
#include "up_internal.h"
|
|
||||||
|
|
||||||
#include "at91uc3_internal.h"
|
#include "at91uc3_internal.h"
|
||||||
#include "avr32dev1_internal.h"
|
#include "avr32dev1_internal.h"
|
||||||
|
|
||||||
@@ -59,34 +49,6 @@
|
|||||||
* Definitions
|
* Definitions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/* Enables debug output from this file (needs CONFIG_DEBUG with
|
|
||||||
* CONFIG_DEBUG_VERBOSE too)
|
|
||||||
*/
|
|
||||||
|
|
||||||
#undef LED_DEBUG /* Define to enable debug */
|
|
||||||
#undef LED_VERBOSE /* Define to enable verbose debug */
|
|
||||||
|
|
||||||
#ifdef LED_DEBUG
|
|
||||||
# define leddbg lldbg
|
|
||||||
# ifdef LED_VERBOSE
|
|
||||||
# define ledvdbg lldbg
|
|
||||||
# else
|
|
||||||
# define ledvdbg(x...)
|
|
||||||
# endif
|
|
||||||
#else
|
|
||||||
# undef LED_VERBOSE
|
|
||||||
# define leddbg(x...)
|
|
||||||
# define ledvdbg(x...)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Dump GPIO registers */
|
|
||||||
|
|
||||||
#ifdef LED_VERBOSE
|
|
||||||
# warning "Not implemented"
|
|
||||||
#else
|
|
||||||
# define led_dumpgpio(m)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Private Data
|
* Private Data
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|||||||
Reference in New Issue
Block a user