This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 2/3] usbseth: compile fix: move misplaced #endif


---
 packages/io/usb/eth/slave/v3_0/src/usbseth.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/packages/io/usb/eth/slave/v3_0/src/usbseth.c b/packages/io/usb/eth/slave/v3_0/src/usbseth.c
index 8d0cd7e..08c2139 100644
--- a/packages/io/usb/eth/slave/v3_0/src/usbseth.c
+++ b/packages/io/usb/eth/slave/v3_0/src/usbseth.c
@@ -108,9 +108,9 @@ usbs_eth_init(usbs_eth* eth, usbs_control_endpoint* ctrl, usbs_rx_endpoint* rx,
 # ifndef HAL_DCACHE_LINE_SIZE
     eth->rx_bufptr              = eth->rx_buffer;
 # else
-# endif    
     eth->rx_bufptr              = (unsigned char*) ((((cyg_uint32)eth->rx_buffer) + HAL_DCACHE_LINE_SIZE - 1)
                                                     & ~(HAL_DCACHE_LINE_SIZE - 1));
+# endif
     eth->rx_buffer_full         = false;
     eth->tx_in_send             = false;
     eth->tx_buffer_full         = false;
-- 
1.6.3.3


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]