merge dnd-support branch

fix vcom, change volume label
This commit is contained in:
NIIBE Yutaka
2011-12-13 13:12:00 +09:00
parent d9be456fed
commit 828b8f5768
6 changed files with 98 additions and 17 deletions

View File

@@ -106,10 +106,14 @@ STDOUTthread (void *arg)
p = stdout.str;
len = stdout.size;
while (len > 0)
while (1)
{
int i;
if (len == 0)
if (count_in != VIRTUAL_COM_PORT_DATA_SIZE)
break;
if (len < VIRTUAL_COM_PORT_DATA_SIZE)
{
for (i = 0; i < len; i++)
@@ -396,7 +400,6 @@ main (int argc, char **argv)
count++;
m = chEvtWaitOneTimeout (ALL_EVENTS, LED_TIMEOUT_INTERVAL);
continue;
switch (m)
{
case LED_STATUS_MODE: