aboutsummaryrefslogtreecommitdiffstats
path: root/drv_USBLCD.c
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2007-02-25 12:27:26 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2007-02-25 12:27:26 +0000
commit3c851dd7e04640567ad5a738c43727bb40e9103e (patch)
treed6d80e104d74d26d5d8a67391958e8e362bf5633 /drv_USBLCD.c
parent51db519d969ceb3fb82effb49126314ca1d917b0 (diff)
downloadlcd4linux-3c851dd7e04640567ad5a738c43727bb40e9103e.tar.gz
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
Diffstat (limited to 'drv_USBLCD.c')
-rw-r--r--drv_USBLCD.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drv_USBLCD.c b/drv_USBLCD.c
index 5e4649e..480d356 100644
--- a/drv_USBLCD.c
+++ b/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,
};