[SerialICE] r71 - trunk/qemu-0.11.0
svn at coresystems.de
svn at coresystems.de
Thu Nov 26 16:51:48 CET 2009
Author: stepan
Date: 2009-11-26 16:51:48 +0100 (Thu, 26 Nov 2009)
New Revision: 71
Modified:
trunk/qemu-0.11.0/serialice.c
Log:
fix "Readback error" on first command (harmless) introduced by v1.5
Signed-off-by: Stefan Reinauer <stepan at coresystems.de>
Modified: trunk/qemu-0.11.0/serialice.c
===================================================================
--- trunk/qemu-0.11.0/serialice.c 2009-11-26 14:36:39 UTC (rev 70)
+++ trunk/qemu-0.11.0/serialice.c 2009-11-26 15:51:48 UTC (rev 71)
@@ -892,7 +892,7 @@
printf("SerialICE: Waiting for handshake with target... ");
/* Trigger a prompt */
- serialice_write(s, "\n", 1);
+ serialice_write(s, "@", 1);
/* ... and wait for it to appear */
if (serialice_wait_prompt() == 0) {
@@ -905,7 +905,7 @@
/* Each serialice_command() waits for a prompt, so trigger one for the
* first command, as we consumed the last one for the handshake
*/
- serialice_write(s, "\n", 1);
+ serialice_write(s, "@", 1);
printf("SerialICE: LUA init...\n");
serialice_lua_init();
More information about the SerialICE
mailing list