diff --git a/ChangeLog b/ChangeLog index 21e64c7..e54ec2a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/server/drivers/SureElec.c b/server/drivers/SureElec.c index 9f65468..b800ab1 100644 --- a/server/drivers/SureElec.c +++ b/server/drivers/SureElec.c @@ -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) {