Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Autoflight2018_22_MODSERIAL
Fork of MODSERIAL by
Diff: example_dma.cpp
- Revision:
- 11:a93a62eeeb9d
- Parent:
- 9:b3cdae80e7a9
- Child:
- 12:8c7394e2ae7f
diff -r 725fe81aa9ff -r a93a62eeeb9d example_dma.cpp
--- 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++) {
