mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 20:44:39 +08:00
Fixes for compiler warnings from Lorenz Meier
This commit is contained in:
@@ -933,7 +933,8 @@ Configurations
|
||||
improves with accesses. Clearly, more work needs to be done.
|
||||
|
||||
Here is another strange observation: SDRAM accesses tend to
|
||||
generate occasional spurious interrupts! No idea why.
|
||||
generate occasional spurious interrupts in those same conditions
|
||||
where the memory test fails! No idea why.
|
||||
|
||||
ostest:
|
||||
This configuration directory, performs a simple OS test using
|
||||
|
||||
@@ -51,13 +51,13 @@
|
||||
#ifdef CONFIG_ARCH_MATH_H
|
||||
# include <arch/math.h>
|
||||
|
||||
/* If CONFIG_LIB is enabled, then the math library at lib/math will be
|
||||
/* If CONFIG_LIBM is enabled, then the math library at lib/math will be
|
||||
* built. This library was taken from the math library developed for the
|
||||
* Rhombus OS by Nick Johnson (https://github.com/nickbjohnson4224/rhombus).
|
||||
* The port or the Rhombus math library was contributed by Darcy Gong.
|
||||
*/
|
||||
|
||||
#else if defined CONFIG_LIBM
|
||||
#elif defined CONFIG_LIBM
|
||||
|
||||
/****************************************************************************
|
||||
* Copyright (C) 2009-2011 Nick Johnson <nickbjohnson4224 at gmail.com>
|
||||
|
||||
@@ -377,22 +377,21 @@
|
||||
#define USBMSC_TRACEERR_VERIFY10NOBLOCKS 0x0066
|
||||
#define USBMSC_TRACEERR_VERIFY10READFAIL 0x0067
|
||||
#define USBMSC_TRACEERR_WRALLOCREQ 0x0068
|
||||
#define USBMSC_TRACEERR_SNDPHERROR 0x0069
|
||||
#define USBMSC_TRACEERR_WRCOMPLETEINVALIDARGS 0x006a
|
||||
#define USBMSC_TRACEERR_WRITE10FLAGS 0x006b
|
||||
#define USBMSC_TRACEERR_WRITE10LBARANGE 0x006c
|
||||
#define USBMSC_TRACEERR_WRITE10MEDIANOTPRESENT 0x006d
|
||||
#define USBMSC_TRACEERR_WRITE10READONLY 0x006e
|
||||
#define USBMSC_TRACEERR_WRITE12FLAGS 0x006f
|
||||
#define USBMSC_TRACEERR_WRITE12LBARANGE 0x0070
|
||||
#define USBMSC_TRACEERR_WRITE12MEDIANOTPRESENT 0x0071
|
||||
#define USBMSC_TRACEERR_WRITE12READONLY 0x0072
|
||||
#define USBMSC_TRACEERR_WRITE6LBARANGE 0x0073
|
||||
#define USBMSC_TRACEERR_WRITE6MEDIANOTPRESENT 0x0074
|
||||
#define USBMSC_TRACEERR_WRITE6READONLY 0x0075
|
||||
#define USBMSC_TRACEERR_WRSHUTDOWN 0x0076
|
||||
#define USBMSC_TRACEERR_WRUNEXPECTED 0x0077
|
||||
#define USBMSC_TRACEERR_UNSUPPORTEDTYPE 0x0078
|
||||
#define USBMSC_TRACEERR_WRCOMPLETEINVALIDARGS 0x0069
|
||||
#define USBMSC_TRACEERR_WRITE10FLAGS 0x006a
|
||||
#define USBMSC_TRACEERR_WRITE10LBARANGE 0x006b
|
||||
#define USBMSC_TRACEERR_WRITE10MEDIANOTPRESENT 0x006c
|
||||
#define USBMSC_TRACEERR_WRITE10READONLY 0x006d
|
||||
#define USBMSC_TRACEERR_WRITE12FLAGS 0x006e
|
||||
#define USBMSC_TRACEERR_WRITE12LBARANGE 0x006f
|
||||
#define USBMSC_TRACEERR_WRITE12MEDIANOTPRESENT 0x0070
|
||||
#define USBMSC_TRACEERR_WRITE12READONLY 0x0071
|
||||
#define USBMSC_TRACEERR_WRITE6LBARANGE 0x0072
|
||||
#define USBMSC_TRACEERR_WRITE6MEDIANOTPRESENT 0x0073
|
||||
#define USBMSC_TRACEERR_WRITE6READONLY 0x0074
|
||||
#define USBMSC_TRACEERR_WRSHUTDOWN 0x0075
|
||||
#define USBMSC_TRACEERR_WRUNEXPECTED 0x0076
|
||||
#define USBMSC_TRACEERR_UNSUPPORTEDTYPE 0x0077
|
||||
|
||||
/****************************************************************************
|
||||
* Public Types
|
||||
|
||||
Reference in New Issue
Block a user