mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(dma): fix s3 dma reg spell error
This commit is contained in:
parent
40f38bea6f
commit
8e9b1501c0
@ -338,7 +338,7 @@ static inline uint32_t gdma_ll_rx_get_prefetched_desc_addr(gdma_dev_t *dev, uint
|
||||
*/
|
||||
static inline void gdma_ll_rx_set_weight(gdma_dev_t *dev, uint32_t channel, uint32_t weight)
|
||||
{
|
||||
dev->channel[channel].in.wight.rx_weight = weight;
|
||||
dev->channel[channel].in.weight.rx_weight = weight;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -597,7 +597,7 @@ static inline uint32_t gdma_ll_tx_get_prefetched_desc_addr(gdma_dev_t *dev, uint
|
||||
*/
|
||||
static inline void gdma_ll_tx_set_weight(gdma_dev_t *dev, uint32_t channel, uint32_t weight)
|
||||
{
|
||||
dev->channel[channel].out.wight.tx_weight = weight;
|
||||
dev->channel[channel].out.weight.tx_weight = weight;
|
||||
}
|
||||
|
||||
/**
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -161,7 +161,7 @@ typedef volatile struct gdma_dev_s {
|
||||
uint32_t reserved12 : 20;
|
||||
};
|
||||
uint32_t val;
|
||||
} wight;
|
||||
} weight;
|
||||
uint32_t reserved_40;
|
||||
union {
|
||||
struct {
|
||||
@ -321,7 +321,7 @@ typedef volatile struct gdma_dev_s {
|
||||
uint32_t reserved12 : 20;
|
||||
};
|
||||
uint32_t val;
|
||||
} wight;
|
||||
} weight;
|
||||
uint32_t reserved_a0;
|
||||
union {
|
||||
struct {
|
||||
|
Loading…
x
Reference in New Issue
Block a user