diff -r f379cdef1f8e -r 90c0a676e631 examples/TestMasterSlave/TestMasterSlave.c --- a/examples/TestMasterSlave/TestMasterSlave.c Wed Apr 18 13:05:15 2007 +0200 +++ b/examples/TestMasterSlave/TestMasterSlave.c Wed Apr 18 13:05:55 2007 +0200 @@ -30,8 +30,7 @@ #else #include #include -//#include -//#include +#include #include #include #endif @@ -189,7 +188,7 @@ LoadCanDriver(LibraryPath); #endif // Open CAN devices - if(SlaveBoard.baudrate){ + if(strcmp( SlaveBoard.baudrate, "none")){ TestSlave_Data.heartbeatError = TestSlave_heartbeatError; TestSlave_Data.SDOtimeoutError = TestSlave_SDOtimeoutError; @@ -207,7 +206,7 @@ } } - if(MasterBoard.baudrate){ + if(strcmp( MasterBoard.baudrate, "none")){ TestMaster_Data.heartbeatError = TestMaster_heartbeatError; TestMaster_Data.SDOtimeoutError = TestMaster_SDOtimeoutError;