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.
Dependencies: mbed SimpleSerialProtocol MODSERIAL
Diff: TestProtocol.h
- Revision:
- 9:81ea54f202e9
- Parent:
- 3:8ac7e37d0e0e
- Child:
- 10:f6862abba2d5
--- a/TestProtocol.h Sun Jul 29 19:36:30 2012 +0000
+++ b/TestProtocol.h Sun Jul 29 19:38:22 2012 +0000
@@ -8,7 +8,6 @@
class TestProtocol : public SimpleSerialProtocol::Protocol {
public:
TestProtocol() : Protocol(p9, p10, NC) { //LED1 to 4 for a status led, NC to disable
- _dma_port = 0; //set the dma port, must be unique per class 0 - 9
receiveCallback(1, this, &TestProtocol::onEchoPacket);
}
virtual ~TestProtocol() {};