if (strstr(InfoToCheck.MBUSModels, model) != NULL) {
if (connection==GCT_MBUS) found_match=true;
}
+#endif /* UCLINUX */
if (strstr(InfoToCheck.InfraredModels, model) != NULL) {
if (connection==GCT_Infrared) found_match=true;
}
+#ifndef UCLINUX
if (strstr(InfoToCheck.DLR3Models, model) != NULL) {
if (connection==GCT_DLR3) found_match=true;
}
if (found_match) {
switch (connection) {
case GCT_FBUS : Protocol = &FBUS_Functions; break;
-#ifndef UCLINUX
case GCT_Infrared: Protocol = &FBUS_Functions; break;
+#ifndef UCLINUX
case GCT_Tekram : Protocol = &FBUS_Functions; break;
case GCT_DLR3 : Protocol = &FBUS_Functions; break;
case GCT_MBUS : Protocol = &MBUS_Functions; break;
#ifndef UCLINUX
if (!strcmp(Connection, "irda")) connection=GCT_Irda;
+#endif /* UCLINUX */
if (!strcmp(Connection, "infrared")) connection=GCT_Infrared;
+#ifndef UCLINUX
if (!strcmp(Connection, "mbus")) connection=GCT_MBUS;
if (!strcmp(Connection, "dlr3")) connection=GCT_DLR3;
if (!strcmp(Connection, "fbus3110")) connection=GCT_FBUS3110;