Fork of MODSERIAL that works with LPC4088
Fork of MODSERIAL by
Diff: example_dma.cpp
- Revision:
- 11:a93a62eeeb9d
- Parent:
- 9:b3cdae80e7a9
- Child:
- 12:8c7394e2ae7f
--- a/example_dma.cpp Wed Nov 24 00:23:55 2010 +0000 +++ b/example_dma.cpp Wed Nov 24 00:33:40 2010 +0000 @@ -85,7 +85,7 @@ led1 = 0; // Send the buffer s using DMA channel 7 - pc.attach_dma_complete( &dmaComplete ); + pc.attach_dmaSendComplete( &dmaComplete ); pc.dmaSend( s1, sizeof(s1), MODDMA::Channel_7 ); for (int loop = 0; loop < 512; loop++) {