Commit 872d91e3 authored by Qiang Du's avatar Qiang Du

Fix eb-console.c with 1 BATCH_SIZE

parent dffc800f
......@@ -39,7 +39,7 @@
#define VUART_TX 0x10
#define VUART_RX 0x14
#define STDIN_FD 0
#define BATCH_SIZE 200
#define BATCH_SIZE 1
const char *program;
......@@ -152,7 +152,7 @@ int main(int argc, char** argv) {
/* be lazy and just poll for now */
busy = 0;
while (1) {
if (!busy) usleep(10000); /* 10ms */
if (!busy) usleep(100); /* 0.1ms */
/* Poll for status */
eb_cycle_open(device, 0, eb_block, &cycle);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment