fix my previous commit: use C comment
This commit is contained in:
@@ -164,7 +164,7 @@ HD44780_init (Driver * drvthis, char *args)
|
|||||||
return -1; // fatal error
|
return -1; // fatal error
|
||||||
} else {
|
} else {
|
||||||
p->connectiontype_index = i;
|
p->connectiontype_index = i;
|
||||||
# check if ConnectionType contains the string "USB" or "usb"
|
/* check if ConnectionType contains the string "USB" or "usb" */
|
||||||
if ((strstr(connectionMapping[i].name, "usb") != NULL) ||
|
if ((strstr(connectionMapping[i].name, "usb") != NULL) ||
|
||||||
(strstr(connectionMapping[i].name, "USB") != NULL))
|
(strstr(connectionMapping[i].name, "USB") != NULL))
|
||||||
usb = 1;
|
usb = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user