added functionality: dump card memory, save|load card memory.

50% fixed problem with readline lib
This commit is contained in:
Merlokbr@gmail.com 2011-06-22 01:25:16 +00:00
parent 8556b852ed
commit ab8b654efa
4 changed files with 135 additions and 11 deletions

View file

@ -42,9 +42,10 @@ static void *usb_receiver(void *targ)
putchar(0x08);
UsbCommandReceived(&cmdbuf);
// there is a big bug )
if (cmdbuf.cmd > 0x0100 && cmdbuf.cmd < 0x0110) { // debug commands
rl_on_new_line_with_prompt();
rl_forced_update_display();
if (cmdbuf.cmd >= 0x0100 && cmdbuf.cmd <= 0x0110) { // debug commands
printf(">");
// rl_on_new_line_with_prompt();
// rl_forced_update_display();
}
fflush(NULL);
}