]> git.webhop.me Git - lcd4linux.git/commitdiff
indent
authormichux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Mon, 6 Apr 2009 20:30:42 +0000 (20:30 +0000)
committermichux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Mon, 6 Apr 2009 20:30:42 +0000 (20:30 +0000)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1024 3ae390bd-cb1e-0410-b409-cd5a39f66f1f

drv.c
drv_ShuttleVFD.c

diff --git a/drv.c b/drv.c
index cc854f11f4f1cb1050275dc09274c2389c6186ef..db9137abc849f98081727dc1ae2d4bb8cd6de52b 100644 (file)
--- 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
index 5eb42688525beaaf68b2714a2527f7005d2ac8fd..24fc4343441efda1ba2acbc4a2ca79e4193844b6 100644 (file)
@@ -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);
 }