mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-02 14:53:46 +08:00
sce_main.c Fixing address used (line 100): DMA_D1_MADR -> DMA_D1_TADR
This commit is contained in:
parent
a41a7ce2fd
commit
1430343e6b
@ -97,7 +97,7 @@ void DMA_enable(void) {
|
||||
void start_DMA_ch1_source_chain(void* data) {
|
||||
*DMA_D_CTRL = 0x01; /* DMA enable */
|
||||
*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;
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user