]> rtime.felk.cvut.cz Git - lincan.git/commitdiff
Corrected conditional for "virtual" board inclusion in the board list.
authorppisa <ppisa>
Thu, 9 Feb 2006 03:23:33 +0000 (03:23 +0000)
committerppisa <ppisa>
Thu, 9 Feb 2006 03:23:33 +0000 (03:23 +0000)
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
+    #ifdef CONFIG_OC_LINCAN_CARD_virtual
        {"virtual", virtual_register, 0},
     #endif
     #ifdef CONFIG_OC_LINCAN_CARD_oscar