diff options
author | Reinhard Tartler <siretart@tauware.de> | 2007-04-30 09:35:54 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2007-04-30 09:35:54 +0200 |
commit | 874ef72c5b807b61bc53dbaa0fa623b40bff1736 (patch) | |
tree | 3c44151e2132fa82d3e7eef2aa82eee1c9e1369d /drv_BeckmannEgle.c | |
parent | cbaf3ad73900f63eae0add0e33439a1bf04b5a1e (diff) | |
download | lcd4linux-874ef72c5b807b61bc53dbaa0fa623b40bff1736.tar.gz |
new upstream version
Diffstat (limited to 'drv_BeckmannEgle.c')
-rw-r--r-- | drv_BeckmannEgle.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drv_BeckmannEgle.c b/drv_BeckmannEgle.c index 22d5307..301e029 100644 --- a/drv_BeckmannEgle.c +++ b/drv_BeckmannEgle.c @@ -1,4 +1,4 @@ -/* $Id: drv_BeckmannEgle.c 728 2007-01-14 11:14:38Z michael $ +/* $Id: drv_BeckmannEgle.c 776 2007-02-26 10:34:52Z michael $ * $URL: https://ssl.bulix.org/svn/lcd4linux/branches/0.10.1/drv_BeckmannEgle.c $ * * driver for Beckmann+Egle "Mini Terminals" and "Compact Terminals" @@ -352,7 +352,7 @@ static int drv_BuE_CT_start(const char *section) /* read version */ drv_generic_serial_write(ESC "?V", 3); usleep(100000); - if ((len = drv_generic_serial_read(buffer, -sizeof(buffer))) > 0) { + if ((len = drv_generic_serial_read(buffer, -1 * (int) sizeof(buffer))) > 0) { int v, r, s; if (sscanf(buffer, "V:%d.%d,%d;", &v, &r, &s) != 3) { error("%s: error parsing display identification <%*s>", Name, len, buffer); @@ -625,7 +625,7 @@ int drv_BuE_init(const char *section, const int quiet) WIDGET_CLASS wc; int ret; - info("%s: %s", Name, "$Rev: 728 $"); + info("%s: %s", Name, "$Rev: 776 $"); /* start display */ if ((ret = drv_BuE_start(section)) != 0) { @@ -728,8 +728,8 @@ int drv_BuE_quit(const int quiet) DRIVER drv_BeckmannEgle = { - name:Name, - list:drv_BuE_list, - init:drv_BuE_init, - quit:drv_BuE_quit, + .name = Name, + .list = drv_BuE_list, + .init = drv_BuE_init, + .quit = drv_BuE_quit, }; |