summaryrefslogtreecommitdiff
path: root/cesar/hal/phy/src/bridgedma.c
diff options
context:
space:
mode:
authorlaranjeiro2008-04-08 10:15:04 +0000
committerlaranjeiro2008-04-08 10:15:04 +0000
commit6efacb0b9f775698424ebe65e44051b99abff21d (patch)
tree859b30c42d9fb4cde7d0b1577a6b3910f05be2d2 /cesar/hal/phy/src/bridgedma.c
parent23c3c87e9984c10609915a0cab55c2ca1364d91d (diff)
Added the bridgedma rx test.
- Tested on host. - Tested on proto. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@1775 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/hal/phy/src/bridgedma.c')
-rw-r--r--cesar/hal/phy/src/bridgedma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cesar/hal/phy/src/bridgedma.c b/cesar/hal/phy/src/bridgedma.c
index 69a0d6d4e0..fb213b8577 100644
--- a/cesar/hal/phy/src/bridgedma.c
+++ b/cesar/hal/phy/src/bridgedma.c
@@ -44,7 +44,8 @@ static cyg_uint32 _bridgedma_ecos_isr(cyg_vector_t vector, cyg_addrword_t data)
bridgedma_ctx = (phy_bridgedma_t *)data;
- if((*bridgedma_ctx->bridgedma_cb)(bridgedma_ctx->user_data, *((u32 *)((void *)&bridgedma_ctx->status))))
+ if((*bridgedma_ctx->bridgedma_cb)(bridgedma_ctx->user_data,
+ *((u32 *)((void *)&bridgedma_ctx->status))))
return CYG_ISR_CALL_DSR; // Cause DSR to be run
else
{
@@ -126,7 +127,6 @@ void
phy_bridgedma_uninit (phy_bridgedma_t *ctx)
{
cyg_thread_suspend (ctx->proto_ctx.thread_handle);
- cyg_thread_delete (ctx->proto_ctx.thread_handle);
}
/**