Pacemaker code Implementation for SFWRENG 3K04
Dependencies: FXOS8700Q Queue mbed-rtos mbed
Fork of Pacemaker by
Diff: main.cpp
- Revision:
- 3:84d3ef9acd17
- Parent:
- 2:9f1091a53ff5
- Child:
- 9:b48423a135d8
diff -r 9f1091a53ff5 -r 84d3ef9acd17 main.cpp --- a/main.cpp Mon Nov 14 01:25:36 2016 +0000 +++ b/main.cpp Mon Nov 14 01:28:27 2016 +0000 @@ -14,13 +14,13 @@ chamberData* atrium = new chamberData(io->getSerial(),'a'); chamberData* ventricle = new chamberData(io->getSerial(), 'v'); pulse* ventPulse = new pulse(ventricle,io); - interface a(io->getSerial() , ventPulse , atrium , ventricle); - - + interface a(io->getSerial() , ventPulse , atrium , ventricle); delete ventricle; //code never reaches here, since we're stuck in the while loops of the pacing, user interface, etc. delete atrium; delete ventPulse; delete io; return 0; - } \ No newline at end of file + } + +//added ending comments \ No newline at end of file