Fix issue about illegal load of EXC_RETURN into PC on stm32 board (#98)
This commit is contained in:
@ -69,6 +69,9 @@ static bool host_init()
|
||||
|
||||
int host_send(void * ctx, const char *buf, int size)
|
||||
{
|
||||
if (!uart_dev)
|
||||
return 0;
|
||||
|
||||
for (int i = 0; i < size; i++)
|
||||
uart_poll_out(uart_dev, buf[i]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user