diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-08-03 16:51:48 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-08-03 16:51:48 -0600 |
commit | f4e6d73ce0102127eb1ab9d9f9e1b2ec39f1d844 (patch) | |
tree | 70c06920ffa15da4284a9e96602db8b6a514c1d8 /nuttx/include | |
parent | 481398445c0a489b0fa4ec87342ed527748a3b73 (diff) | |
download | px4-nuttx-f4e6d73ce0102127eb1ab9d9f9e1b2ec39f1d844.tar.gz px4-nuttx-f4e6d73ce0102127eb1ab9d9f9e1b2ec39f1d844.tar.bz2 px4-nuttx-f4e6d73ce0102127eb1ab9d9f9e1b2ec39f1d844.zip |
Fixes for compiler warnings from Lorenz Meier
Diffstat (limited to 'nuttx/include')
-rw-r--r-- | nuttx/include/nuttx/math.h | 4 | ||||
-rw-r--r-- | nuttx/include/nuttx/usb/usbdev_trace.h | 31 |
2 files changed, 17 insertions, 18 deletions
diff --git a/nuttx/include/nuttx/math.h b/nuttx/include/nuttx/math.h index aaadb9c91..d4277b802 100644 --- a/nuttx/include/nuttx/math.h +++ b/nuttx/include/nuttx/math.h @@ -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> diff --git a/nuttx/include/nuttx/usb/usbdev_trace.h b/nuttx/include/nuttx/usb/usbdev_trace.h index b6f0ac2a3..d9de60b11 100644 --- a/nuttx/include/nuttx/usb/usbdev_trace.h +++ b/nuttx/include/nuttx/usb/usbdev_trace.h @@ -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 |