mirror of
https://github.com/netfun2000/lcd4linux.git
synced 2026-02-27 09:44:34 +08:00
indent
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1024 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
This commit is contained in:
@@ -187,8 +187,8 @@ DRIVER *Driver[] = {
|
||||
&drv_st2205,
|
||||
#endif
|
||||
#ifdef WITH_SHUTTLEVFD
|
||||
&drv_ShuttleVFD,
|
||||
#endif
|
||||
&drv_ShuttleVFD,
|
||||
#endif
|
||||
#ifdef WITH_SERDISPLIB
|
||||
&drv_serdisplib,
|
||||
#endif
|
||||
|
||||
+3
-4
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user