- sleep statement inserted to reduce cpu load
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@70 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
This commit is contained in:
@@ -36,8 +36,11 @@ public class UartTest {
|
||||
System.out.print((char) buffer[i]);
|
||||
}
|
||||
}
|
||||
Thread.sleep(50);
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
} catch (InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user