Monitor echo function, for better synchronization.
[goodfet] / firmware / apps / monitor / monitor.c
index 3a94b44..218afca 100644 (file)
@@ -22,6 +22,10 @@ void monitorhandle(unsigned char app,
   default:
     debugstr("ERROR: Command unsupported by debug monitor.");
     break;
+  case MONITOR_ECHO:
+    //Echo back the same buffer.
+    txdata(app,verb,len);
+    break;
   case PEEK:
     cmddata[0]=memorybyte[cmddataword[0]];
     txdata(app,verb,1);