Skip to content

Commit 94cccad

Browse files
author
michux
committed
indent
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1024 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
1 parent ae2f27d commit 94cccad

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

drv.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@ DRIVER *Driver[] = {
187187
&drv_st2205,
188188
#endif
189189
#ifdef WITH_SHUTTLEVFD
190-
&drv_ShuttleVFD,
191-
#endif
190+
&drv_ShuttleVFD,
191+
#endif
192192
#ifdef WITH_SERDISPLIB
193193
&drv_serdisplib,
194194
#endif

drv_ShuttleVFD.c

+3-4
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,8 @@ static int drv_ShuttleVFD_open(void)
127127

128128
for (bus = usb_get_busses(); bus != NULL; bus = bus->next) {
129129
for (dev = bus->devices; dev != NULL; dev = dev->next) {
130-
if (dev->descriptor.idVendor == vendor_id && (
131-
(dev->descriptor.idProduct == SHUTTLE_VFD_PRODUCT_ID1) ||
132-
(dev->descriptor.idProduct == SHUTTLE_VFD_PRODUCT_ID2))) {
130+
if (dev->descriptor.idVendor == vendor_id && ((dev->descriptor.idProduct == SHUTTLE_VFD_PRODUCT_ID1) ||
131+
(dev->descriptor.idProduct == SHUTTLE_VFD_PRODUCT_ID2))) {
133132

134133
unsigned int v = dev->descriptor.bcdDevice;
135134

@@ -233,7 +232,7 @@ static void drv_ShuttleVFD_write(const int row, const int col, const char *data,
233232

234233
static void drv_ShuttleVFD_defchar(const int ascii, const unsigned char *matrix)
235234
{
236-
(void)matrix;
235+
(void) matrix;
237236
debug("%s: not available (ascii=%d)", Name, ascii);
238237
}
239238

0 commit comments

Comments
 (0)