aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drv.c4
-rw-r--r--drv_ShuttleVFD.c7
2 files changed, 5 insertions, 6 deletions
diff --git a/drv.c b/drv.c
index cc854f1..db9137a 100644
--- a/drv.c
+++ b/drv.c
@@ -187,8 +187,8 @@ DRIVER *Driver[] = {
&drv_st2205,
#endif
#ifdef WITH_SHUTTLEVFD
- &drv_ShuttleVFD,
-#endif
+ &drv_ShuttleVFD,
+#endif
#ifdef WITH_SERDISPLIB
&drv_serdisplib,
#endif
diff --git a/drv_ShuttleVFD.c b/drv_ShuttleVFD.c
index 5eb4268..24fc434 100644
--- a/drv_ShuttleVFD.c
+++ b/drv_ShuttleVFD.c
@@ -127,9 +127,8 @@ static int drv_ShuttleVFD_open(void)
for (bus = usb_get_busses(); bus != NULL; bus = bus->next) {
for (dev = bus->devices; dev != NULL; dev = dev->next) {
- if (dev->descriptor.idVendor == vendor_id && (
- (dev->descriptor.idProduct == SHUTTLE_VFD_PRODUCT_ID1) ||
- (dev->descriptor.idProduct == SHUTTLE_VFD_PRODUCT_ID2))) {
+ if (dev->descriptor.idVendor == vendor_id && ((dev->descriptor.idProduct == SHUTTLE_VFD_PRODUCT_ID1) ||
+ (dev->descriptor.idProduct == SHUTTLE_VFD_PRODUCT_ID2))) {
unsigned int v = dev->descriptor.bcdDevice;
@@ -233,7 +232,7 @@ static void drv_ShuttleVFD_write(const int row, const int col, const char *data,
static void drv_ShuttleVFD_defchar(const int ascii, const unsigned char *matrix)
{
- (void)matrix;
+ (void) matrix;
debug("%s: not available (ascii=%d)", Name, ascii);
}
eam/0+git20140512.1246b27Jonathan McCrohan391-301/+3983 2014-04-05Release 0+git20140326.cfc2975-1debian/0+git20140326.cfc2975-1Jonathan McCrohan1-2/+2 2014-04-05d/control: update Homepage (upstream has moved from Gitweb to cgit)Jonathan McCrohan2-1/+2 2014-04-05New Upstream Snapshot (commit cfc2975)Jonathan McCrohan1-0/+6 2014-04-05Imported Upstream version 0+git20140326.cfc2975upstream/0+git20140326.cfc2975Jonathan McCrohan118-656/+877 2014-01-16Release 0+git20140107.1850cf8-1debian/0+git20140107.1850cf8-1Jonathan McCrohan1-2/+2 2014-01-16Update Standards Version to 3.9.5Jonathan McCrohan2-1/+9