arm-jtag-ew: Send GDB keep_alive() messages when logging USB communication

- Ticket: #35
__archive__
Simon Barner 2011-09-16 21:15:19 +02:00 committed by Andreas Fritiofson
parent 830e76fecd
commit e56e5a3929
1 changed files with 3 additions and 0 deletions

View File

@ -847,6 +847,9 @@ static void armjtagew_debug_buffer(uint8_t *buffer, int length)
strcat(line, s);
}
LOG_DEBUG("%s", line);
// Prevent GDB timeout (writing to log might take some time)
keep_alive();
}
}
#endif