sce_main.c Fixing address used (line 100): DMA_D1_MADR -> DMA_D1_TADR
This commit is contained in:
parent
a41a7ce2fd
commit
1430343e6b
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ void DMA_enable(void) {
|
||||||
void start_DMA_ch1_source_chain(void* data) {
|
void start_DMA_ch1_source_chain(void* data) {
|
||||||
*DMA_D_CTRL = 0x01; /* DMA enable */
|
*DMA_D_CTRL = 0x01; /* DMA enable */
|
||||||
*DMA_D1_QWC = 0x00;
|
*DMA_D1_QWC = 0x00;
|
||||||
*DMA_D1_MADR = (int)data;
|
*DMA_D1_TADR = (int)data;
|
||||||
*DMA_D1_CHCR = MODE_CHAIN | DMA_START | DMA_Dn_CHCR__TTE;
|
*DMA_D1_CHCR = MODE_CHAIN | DMA_START | DMA_Dn_CHCR__TTE;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue