example-cdc,etc.: Bug fix of examples.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
@@ -768,7 +768,7 @@ tty_main (void *arg)
|
|||||||
&& t->flag_send_ready)
|
&& t->flag_send_ready)
|
||||||
{
|
{
|
||||||
uint8_t line[32];
|
uint8_t line[32];
|
||||||
int len = get_chars_from_ringbuffer (t, line, sizeof (len));
|
int len = get_chars_from_ringbuffer (t, line, sizeof (line));
|
||||||
|
|
||||||
if (len)
|
if (len)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -780,7 +780,7 @@ tty_main (void *arg)
|
|||||||
&& t->flag_send_ready)
|
&& t->flag_send_ready)
|
||||||
{
|
{
|
||||||
uint8_t line[32];
|
uint8_t line[32];
|
||||||
int len = get_chars_from_ringbuffer (t, line, sizeof (len));
|
int len = get_chars_from_ringbuffer (t, line, sizeof (line));
|
||||||
|
|
||||||
if (len)
|
if (len)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -768,7 +768,7 @@ tty_main (void *arg)
|
|||||||
&& t->flag_send_ready)
|
&& t->flag_send_ready)
|
||||||
{
|
{
|
||||||
uint8_t line[32];
|
uint8_t line[32];
|
||||||
int len = get_chars_from_ringbuffer (t, line, sizeof (len));
|
int len = get_chars_from_ringbuffer (t, line, sizeof (line));
|
||||||
|
|
||||||
if (len)
|
if (len)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user