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.
Revision 6:446ce292ed7f, committed 2014-10-21
- Comitter:
- sillevl
- Date:
- Tue Oct 21 09:51:17 2014 +0000
- Parent:
- 5:b73ea174e997
- Commit message:
- solved bug with slave.stop() on clear and print
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file | 
--- a/main.cpp	Tue Oct 14 14:54:32 2014 +0000
+++ b/main.cpp	Tue Oct 21 09:51:17 2014 +0000
@@ -93,10 +93,12 @@
                     case CLEAR:
                         pc.printf("Clearing the memory\r\n");    
                         memory.reset();
+                        slave.stop();
                         break;
                     
                     case PRINT:
                         memory.print();
+                        slave.stop();
                         break;
                     
                     default:
    