]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/boardlist.c
Corrected conditional for "virtual" board inclusion in the board list.
[lincan.git] / lincan / src / boardlist.c
index 6d2cd8b67934bb2e8261d69931f15477883c46c5..0f0d5ccb1998e909abda48b5653bc0056c4bba5e 100644 (file)
@@ -48,7 +48,7 @@ const struct boardtype_t can_boardtypes[]={
     #ifdef CONFIG_OC_LINCAN_CARD_template
        {"template", template_register, 1},
     #endif
     #ifdef CONFIG_OC_LINCAN_CARD_template
        {"template", template_register, 1},
     #endif
-    #ifdef CONFIG_OC_LINCAN_CARD_template
+    #ifdef CONFIG_OC_LINCAN_CARD_virtual
        {"virtual", virtual_register, 0},
     #endif
     #ifdef CONFIG_OC_LINCAN_CARD_oscar
        {"virtual", virtual_register, 0},
     #endif
     #ifdef CONFIG_OC_LINCAN_CARD_oscar