[moserial] Revert "increase delay in checking for screen updates, to avoid data loss"
- From: Michael J. Chudobiak <mjc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [moserial] Revert "increase delay in checking for screen updates, to avoid data loss"
- Date: Wed, 5 Oct 2011 14:42:58 +0000 (UTC)
commit d7b912092ebcd55bdfea7a1cc0f8b427c4c5a3c6
Author: Michael J. Chudobiak <mjc avtechpulse com>
Date: Wed Oct 5 10:42:47 2011 -0400
Revert "increase delay in checking for screen updates, to avoid data loss"
This reverts commit e3f40dbec8c563f81f364ce071e910d15ad02090.
src/SerialConnection.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/SerialConnection.vala b/src/SerialConnection.vala
index 26f0a7b..8bf5059 100644
--- a/src/SerialConnection.vala
+++ b/src/SerialConnection.vala
@@ -127,8 +127,8 @@ public class moserial.SerialConnection : GLib.Object
}
private bool readBytes(GLib.IOChannel source, GLib.IOCondition condition) {
- uchar[] m_buf = new uchar[512];
- int bytesRead=(int)Posix.read(m_fd, m_buf, 512);
+ uchar[] m_buf = new uchar[128];
+ int bytesRead=(int)Posix.read(m_fd, m_buf, 128);
rx += (ulong) bytesRead;
while(Gtk.events_pending() || Gdk.events_pending())
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]