Fixed bugs in flash programming.
[goodfet] / firmware / apps / monitor / monitor.c
index 0bb7838..d820107 100644 (file)
@@ -10,6 +10,15 @@ void monitorhandle(unsigned char app,
     txdata(app,verb,1);
     break;
   case POKE:
+    //Todo, make word or byte.
+    memorybyte[cmddataword[0]]=cmddata[2];
+    cmddata[0]=memorybyte[cmddataword[0]];
+    txdata(app,verb,1);
+    break;
+  case MONITOR_CHANGE_BAUD:
+    //This command, and ONLY this command, does not reply.
+    setbaud(cmddata[0]);
+    //txdata(app,verb,0);
     break;
   }
 }