From: ppisa Date: Fri, 3 Sep 2004 22:29:05 +0000 (+0000) Subject: Committed Fanda Vacek work on major upgrade of CANopen framework X-Git-Tag: CLT_COMM_CAN-post_update-040903 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/commitdiff_plain/3d6c5be34ccd4bf1633c6b7f98e9beedfebc262f Committed Fanda Vacek work on major upgrade of CANopen framework CanMonitor updated and communication protocol changed to binary version. Automatic serialization and deserialization code generation added. CAN monitor daemon updated to support new binary protocol as well. Enhanced CANopen device to connect with hardware through hardware supporting shared libraries. Mapping is done according to HDS (Handle Description) files. --- diff --git a/lincan/src/can_devrtl.c b/lincan/src/can_devrtl.c index c570f1b..301c52c 100644 --- a/lincan/src/can_devrtl.c +++ b/lincan/src/can_devrtl.c @@ -134,9 +134,12 @@ void * can_chip_worker_thread(void *arg) but it seems to not work without that */ if(chip->chip_irq>=0) { if ((chip->flags & CHIP_IRQ_VME) == 0) can_enable_irq(chip->chip_irq); + #ifdef CAN_ENABLE_VME_SUPPORT else tundra_rtl_enable_pci_irq(); /* FIXME: Bad practice. Doesn't work with more * than one card. */ + #endif /*CAN_ENABLE_VME_SUPPORT*/ + } RTL_MARK_SUSPENDED(pthread_self());