Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
talpachen committed Jan 19, 2020
1 parent fdcd563 commit 8d251a1
Show file tree
Hide file tree
Showing 3 changed files with 241 additions and 119 deletions.
10 changes: 0 additions & 10 deletions vsf/component/stream/usart_stream/usart_stream.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,6 @@ static void uart_on_tx(void *p)
{
buffer.buffer = buf;
buffer.size = stream_read(param->stream_tx, &buffer);

static bool stop = 0;
if (stop)
stop = 0;

if (buffer.size == 48)
{
stop = 1;
}

if (buffer.size)
{
vsfhal_usart_tx_bytes(param->index, buf, buffer.size);
Expand Down
Loading

0 comments on commit 8d251a1

Please sign in to comment.