Fix some new warnings found in build testing.
This commit is contained in:
parent
005a077310
commit
35521ab2b6
@ -48,6 +48,7 @@
|
||||
#include <nuttx/irq.h>
|
||||
#include <nuttx/arch.h>
|
||||
#include <nuttx/wdog.h>
|
||||
#include <nuttx/clock.h>
|
||||
|
||||
#include <arch/board/board.h>
|
||||
|
||||
|
@ -86,6 +86,11 @@
|
||||
# define CONSOLE_2STOP CONFIG_UART3_2STOP
|
||||
#elif defined(HAVE_CONSOLE)
|
||||
# error "No CONFIG_UARTn_SERIAL_CONSOLE Setting"
|
||||
# define CONSOLE_BASE LPC17_UART0_BASE
|
||||
# define CONSOLE_BAUD 115200
|
||||
# define CONSOLE_BITS 8
|
||||
# define CONSOLE_PARITY 0
|
||||
# define CONSOLE_2STOP 0
|
||||
#endif
|
||||
|
||||
/* Get word length setting for the console */
|
||||
|
@ -1563,10 +1563,10 @@ int main(int argc, char **argv, char **envp)
|
||||
else if (indent > 0)
|
||||
{
|
||||
/* REVISIT: Generates false alarms when a statement continues on
|
||||
* the next line. The bstatm check limits to lines beginnnig with
|
||||
* the next line. The bstatm check limits to lines beginning with
|
||||
* C keywords.
|
||||
* REVISIT: The bstatm check will not detect statements that
|
||||
* do not begin with a C keyword (such as assignement statements).
|
||||
* do not begin with a C keyword (such as assignment statements).
|
||||
* REVISIT: Generates false alarms on comments at the end of
|
||||
* the line if there is nothing preceding (such as the aligned
|
||||
* comments with a structure field definition). So disabled for
|
||||
|
Loading…
Reference in New Issue
Block a user