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 6d2cd8b..0f0d5cc 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