SureElec: Fix stall on startup.

This commit is contained in:
mmdolze
2010-11-25 07:11:41 +00:00
parent c7aeaa0e2f
commit 24846beac5
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -30,6 +30,7 @@ v.0.5dev (ongoing development)
- Remove native win32 support.
* picolcd: Use module output function to control key LEDs (Martin Jones)
+ hd44780: Added 'usbtiny' connection type (Siarhei Herasimchuk)
* SureElec: Fix stall on startup
v0.5.3
+ lcdexec: notification when called program finishes
+2 -2
View File
@@ -9,7 +9,7 @@
* integrated on the board.
*/
/*
/*-
* Copyright (C) 2009, Laurent Latil
*
* This program is free software; you can redistribute it and/or modify it under
@@ -893,7 +893,7 @@ open_port(Driver * drvthis, const char *device)
int i;
fd = open(device, O_RDWR | O_NOCTTY);
fd = open(device, O_RDWR | O_NOCTTY | O_NDELAY);
if (fd == -1) {
report(RPT_ERR, "%s: open(%s) failed (%s)", drvthis->name, device, strerror(errno));
if (errno == EACCES) {