Fix truncated output from 'ch' command

Signed-off-by: Randall Spangler <rspangler@chromium.org>

BUG=none
TEST='ch' - prints all the channels now

Change-Id: I38ebc3eed2476c44c26fc00d6ea79800ae427722
This commit is contained in:
Randall Spangler
2012-05-10 12:41:50 -07:00
parent 85e734d1b4
commit 013a930082

View File

@@ -269,6 +269,7 @@ static int command_ch(int argc, char **argv)
i, 1 << i,
(channel_mask & (1 << i) ? '*' : ' '),
channel_names[i]);
cflush();
}
return EC_SUCCESS;
}