SureElec: Fix stall on startup.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user