Nico De Witte
/
mbed_slave
mbed I2C slave memory device emulator for use with Raspberry PI
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 |
diff -r b73ea174e997 -r 446ce292ed7f main.cpp --- 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: