diff options
author | bwalle <bwalle@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2008-10-07 19:32:42 +0000 |
---|---|---|
committer | bwalle <bwalle@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2008-10-07 19:32:42 +0000 |
commit | 3654ca81e0aa3116c24d849336560cc96ff73f11 (patch) | |
tree | 8ded0ab0b7524c1101146671e35c52520d91c3df /drv_USBLCD.c | |
parent | a80978985167df7650209888a5a89ea8089c091d (diff) | |
download | lcd4linux-3654ca81e0aa3116c24d849336560cc96ff73f11.tar.gz |
Replace write to external variable usb_debug by calling usb_set_debug().
This fixes build on openSUSE Factory.
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@899 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_USBLCD.c')
-rw-r--r-- | drv_USBLCD.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drv_USBLCD.c b/drv_USBLCD.c index 3387ebb..70dc7b1 100644 --- a/drv_USBLCD.c +++ b/drv_USBLCD.c @@ -86,8 +86,6 @@ static char *BufPtr; static usb_dev_handle *lcd; static int interface; -extern int usb_debug; - #endif @@ -107,7 +105,7 @@ static int drv_UL_open(void) info("%s: scanning for USBLCD...", Name); - usb_debug = 0; + usb_set_debug(0); usb_init(); usb_find_busses(); |