From 590c8d388607cec90cbd13e1bed32c48016deb46 Mon Sep 17 00:00:00 2001 From: patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> Date: Wed, 15 Dec 2010 12:09:57 +0000 Subject: [PATCH] update git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3181 42af7a65-404d-4744-a932-0658087f49c3 --- arch/arm/src/lpc17xx/lpc17_usbhost.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm/src/lpc17xx/lpc17_usbhost.c b/arch/arm/src/lpc17xx/lpc17_usbhost.c index 158369b74b..26bbb07589 100755 --- a/arch/arm/src/lpc17xx/lpc17_usbhost.c +++ b/arch/arm/src/lpc17xx/lpc17_usbhost.c @@ -2,7 +2,7 @@ * arch/arm/src/lpc17xx/lpc17_usbhost.c * * Copyright (C) 2010 Gregory Nutt. All rights reserved. - * Authors: Rafael Noronha + * Authors: Rafael Noronha <rafael@pdsolucoes.com.br> * Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -158,13 +158,13 @@ struct usbhost_hcca_s /* Helper definitions */ -#define Hcca = ((volatile struct usbhost_hcca_s *)(USBHOST_SRAM_BASE + 0x000)) -#define TDHead = ((volatile struct usbhost_hctd_s *)(USBHOST_SRAM_BASE + 0x100)) -#define TDTail = ((volatile struct usbhost_hctd_s *)(USBHOST_SRAM_BASE + 0x110)) -#define EDCtrl = ((volatile struct usbhost_hced_s *)(USBHOST_SRAM_BASE + 0x120)) -#define EDBulkIn = ((volatile struct usbhost_hced_s *)(USBHOST_SRAM_BASE + 0x130)) -#define EDBulkOut = ((volatile struct usbhost_hced_s *)(USBHOST_SRAM_BASE + 0x140)) -#define TDBuffer = ((volatile uint8_t *)(USBHOST_SRAM_BASE + 0x150)) +#define Hcca ((volatile struct usbhost_hcca_s *)(USBHOST_SRAM_BASE + 0x000)) +#define TDHead ((volatile struct usbhost_hctd_s *)(USBHOST_SRAM_BASE + 0x100)) +#define TDTail ((volatile struct usbhost_hctd_s *)(USBHOST_SRAM_BASE + 0x110)) +#define EDCtrl ((volatile struct usbhost_hced_s *)(USBHOST_SRAM_BASE + 0x120)) +#define EDBulkIn ((volatile struct usbhost_hced_s *)(USBHOST_SRAM_BASE + 0x130)) +#define EDBulkOut ((volatile struct usbhost_hced_s *)(USBHOST_SRAM_BASE + 0x140)) +#define TDBuffer ((volatile uint8_t *)(USBHOST_SRAM_BASE + 0x150)) /******************************************************************************* * Private Function Prototypes -- GitLab