From be13863a0288ac721480a783c12b472c9a5363b2 Mon Sep 17 00:00:00 2001 From: marschap Date: Tue, 9 Oct 2007 13:54:07 +0000 Subject: [PATCH] further little clean-ups --- server/drivers/hd44780-lis2.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/server/drivers/hd44780-lis2.c b/server/drivers/hd44780-lis2.c index 332b5db..4ce9c44 100644 --- a/server/drivers/hd44780-lis2.c +++ b/server/drivers/hd44780-lis2.c @@ -2,7 +2,9 @@ * \c lis2 connection type of \c hd44780 driver for Hitachi HD44780 based LCD displays. */ -/* Modification of the code of the LCDSerializer driver +/* + * VLSystems LIS2 driver + * Modification of the code of the LCDSerializer driver * * Copyright (c) 1997, Matthias Prinke * 1998, Richard Rognlie @@ -64,12 +66,12 @@ int hd_init_lis2(Driver *drvthis) /* Get serial device to use */ strncpy(device, drvthis->config_get_string(drvthis->name, "Device", 0, DEFAULT_DEVICE), sizeof(device)); device[sizeof(device)-1] = '\0'; - report(RPT_INFO, "HD44780: LIS2: Using device: %s", device); + report(RPT_INFO, "HD44780: lis2: Using device: %s", device); // Set up io port correctly, and open it... p->fd = open(device, O_RDWR | O_NOCTTY); if (p->fd == -1) { - report(RPT_ERR, "HD44780: LIS2: could not open device %s (%s)", + report(RPT_ERR, "HD44780: lis2: could not open device %s (%s)", device, strerror(errno)); return -1; }