[moserial] increase delay in checking for screen updates, to avoid data loss



commit e3f40dbec8c563f81f364ce071e910d15ad02090
Author: Michael J. Chudobiak <mjc avtechpulse com>
Date:   Thu Sep 8 13:13:10 2011 -0400

    increase delay in checking for screen updates, to avoid data loss

 src/SerialConnection.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/SerialConnection.vala b/src/SerialConnection.vala
index abd04b3..564ee0b 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[128];
-                int bytesRead=(int)Posix.read(m_fd, m_buf, 128);
+                uchar[] m_buf = new uchar[512];
+                int bytesRead=(int)Posix.read(m_fd, m_buf, 512);
 		rx += (ulong) bytesRead;
 
                 while(Gtk.events_pending() || Gdk.events_pending())



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]