mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 10:32:47 +08:00
Eliminate some warnings
This commit is contained in:
@@ -152,7 +152,10 @@
|
||||
# undef CONFIG_USART2_SERIAL_CONSOLE
|
||||
# define HAVE_CONSOLE 1
|
||||
#else
|
||||
# warning "No valid CONFIG_USARTn_SERIAL_CONSOLE Setting"
|
||||
# ifndef CONFIG_NO_SERIAL_CONSOLE
|
||||
# warning "No valid CONFIG_USARTn_SERIAL_CONSOLE Setting"
|
||||
# endif
|
||||
|
||||
# undef CONFIG_UART0_SERIAL_CONSOLE
|
||||
# undef CONFIG_UART1_SERIAL_CONSOLE
|
||||
# undef CONFIG_USART0_SERIAL_CONSOLE
|
||||
|
||||
@@ -51,6 +51,7 @@
|
||||
|
||||
#include "sam_clockconfig.h"
|
||||
#include "sam_lowputc.h"
|
||||
#include "sam_cmcc.h"
|
||||
#include "sam_userspace.h"
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user