mirror of
https://github.com/netfun2000/lcd4linux.git
synced 2026-02-27 09:44:34 +08:00
lots of compiler warnings removed, C++-style comments removed, changed struc initialisation from 'field:value' to '.field=value'
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@771 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
This commit is contained in:
10
drv_USBLCD.c
10
drv_USBLCD.c
@@ -161,7 +161,7 @@ static void drv_UL_send(void)
|
||||
|
||||
if (use_libusb) {
|
||||
#ifdef HAVE_USB_H
|
||||
// Fixme: Endpoint hardcoded to 1 ???
|
||||
/* Fixme: Endpoint hardcoded to 1 ??? */
|
||||
usb_bulk_write(lcd, 1, Buffer, BufPtr - Buffer, 1000);
|
||||
#endif
|
||||
} else {
|
||||
@@ -503,8 +503,8 @@ int drv_UL_quit(const int quiet)
|
||||
|
||||
|
||||
DRIVER drv_USBLCD = {
|
||||
name:Name,
|
||||
list:drv_UL_list,
|
||||
init:drv_UL_init,
|
||||
quit:drv_UL_quit,
|
||||
.name = Name,
|
||||
.list = drv_UL_list,
|
||||
.init = drv_UL_init,
|
||||
.quit = drv_UL_quit,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user