summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--serial.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/serial.vala b/serial.vala
index 480d73c..f6901f0 100644
--- a/serial.vala
+++ b/serial.vala
@@ -8,7 +8,7 @@ public class Serial {
public Serial(string device, int rate, int bits, int stopbits) {
Posix.speed_t baudrate = Posix.B9600;
- fd = Posix.open(device, Posix.O_RDONLY | Posix.O_NONBLOCK);
+ fd = Posix.open(device, Posix.O_RDONLY /*| Posix.O_NONBLOCK*/);
if(fd < 0) {
fd = -1;