diff options
| author | hathach <[email protected]> | 2026-03-07 13:07:13 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2026-03-07 13:07:13 +0700 |
| commit | 1c53009dc70e8535347f83cd9f3024ea495a085c (patch) | |
| tree | c8ab10c16f8f3384a99343498e8dd9a18fe27f32 /src | |
| parent | 6c4f119dddebc9af407f43f40fc1a7776efc7ed1 (diff) | |
remove dma_desc_t
Diffstat (limited to 'src')
| -rw-r--r-- | src/portable/microchip/samx7x/dcd_samx7x.c | 8 | ||||
| -rw-r--r-- | src/portable/microchip/samx7x/samx7x_common.h | 2 |
2 files changed, 1 insertions, 9 deletions
diff --git a/src/portable/microchip/samx7x/dcd_samx7x.c b/src/portable/microchip/samx7x/dcd_samx7x.c index bd158b47d..6da1e9778 100644 --- a/src/portable/microchip/samx7x/dcd_samx7x.c +++ b/src/portable/microchip/samx7x/dcd_samx7x.c @@ -50,14 +50,6 @@ #define EP_GET_FIFO_PTR(ep, scale) \ (((TU_XSTRCAT(TU_STRCAT(uint, scale), _t)(*)[0x8000 / ((scale) / 8)]) FIFO_RAM_ADDR)[(ep)]) -// DMA Channel Transfer Descriptor -typedef struct { - volatile uint32_t next_desc; - volatile uint32_t buff_addr; - volatile uint32_t chnl_ctrl; - uint32_t padding; -} dma_desc_t; - // Transfer control context typedef struct { uint8_t *buffer; diff --git a/src/portable/microchip/samx7x/samx7x_common.h b/src/portable/microchip/samx7x/samx7x_common.h index 4fd63b7f8..5e3c20c0f 100644 --- a/src/portable/microchip/samx7x/samx7x_common.h +++ b/src/portable/microchip/samx7x/samx7x_common.h @@ -1,4 +1,4 @@ - /* +/* * The MIT License (MIT) * * Copyright (c) 2019 Microchip Technology Inc. |
