From 86599fea09ae05815a02549e18029e58184a2fc5 Mon Sep 17 00:00:00 2001 From: patacongo Date: Wed, 26 May 2010 12:51:06 +0000 Subject: Fix USB macro definition git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2701 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/arch/arm/src/arm/up_assert.c | 2 +- nuttx/include/nuttx/usbdev.h | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/nuttx/arch/arm/src/arm/up_assert.c b/nuttx/arch/arm/src/arm/up_assert.c index 2a4dc0a31..cd0b59511 100644 --- a/nuttx/arch/arm/src/arm/up_assert.c +++ b/nuttx/arch/arm/src/arm/up_assert.c @@ -1,7 +1,7 @@ /**************************************************************************** * arch/arm/src/arm/up_assert.c * - * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2007-2010 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without diff --git a/nuttx/include/nuttx/usbdev.h b/nuttx/include/nuttx/usbdev.h index c8bd39c87..ed7f0c496 100644 --- a/nuttx/include/nuttx/usbdev.h +++ b/nuttx/include/nuttx/usbdev.h @@ -1,7 +1,7 @@ /************************************************************************************ * include/nuttx/usbdev.h * - * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2008-2010 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * NOTE: This interface was inspired by the Linux gadget interface by @@ -180,7 +180,8 @@ /* Request flags */ -#define USBDEV_REQFLAGS_NULLPKT 0 /* Terminate w/short packet; null packet if necessary */ +#define USBDEV_REQFLAGS_NULLPKT 1 /* Bit 0: Terminate w/short packet; null packet if necessary */ + /* Bits 1-7: Available */ /************************************************************************************ * Public Types -- cgit v1.2.3