STPC serial and parallel support
This commit is contained in:
@@ -76,11 +76,7 @@ postcard_setui(void)
|
||||
|
||||
if (postcard_do_log) {
|
||||
/* log same string sent to the UI */
|
||||
int len = strlen(postcard_str);
|
||||
postcard_str[len + 1] = '\0';
|
||||
postcard_str[len] = '\n';
|
||||
postcard_log("[%04X:%08X] ", CS, cpu_state.pc);
|
||||
postcard_log(postcard_str);
|
||||
postcard_log("[%04X:%08X] %s\n", CS, cpu_state.pc, postcard_str);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user