]> rtime.felk.cvut.cz Git - CanFestival-3.git/blobdiff - examples/TestMasterSlaveLSS/SlaveB.c
FastScan review
[CanFestival-3.git] / examples / TestMasterSlaveLSS / SlaveB.c
index 525fd4292aa122c7c02c40cd1687182c6a8baacf..e75137938de930b29a49fb8fb721dffc76a3620d 100644 (file)
@@ -24,7 +24,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 #include "Master.h"
 #include "TestMasterSlaveLSS.h"
 
-extern s_BOARD SlaveBoardB;
 /*****************************************************************************/
 void TestSlaveB_heartbeatError(CO_Data* d, UNS8 heartbeatID)
 {
@@ -81,14 +80,13 @@ void TestSlaveB_post_emcy(CO_Data* d, UNS8 nodeID, UNS16 errCode, UNS8 errReg)
        eprintf("SlaveB received EMCY message. Node: %2.2x  ErrorCode: %4.4x  ErrorRegister: %2.2x\n", nodeID, errCode, errReg);
 }
 
-void TestSlaveB_StoreConfiguration(CO_Data* d, UNS8 *error, UNS8 *spec_error)
+void TestSlaveB_NMT_Slave_Communications_Reset_Callback(CO_Data* d)
 {
-       printf("TestSlaveB_StoreConfiguration\n");
+       eprintf("TestSlaveB_NMT_Slave_Communications_Reset_Callback\n");
 }
 
-void TestSlaveB_ChangeBaudRate(CO_Data* d, char *baudrate)
+void TestSlaveB_StoreConfiguration(CO_Data* d, UNS8 *error, UNS8 *spec_error)
 {
-       eprintf("TestSlave2_ChangeBaudRate from %s to %s\n", SlaveBoardB.baudrate, baudrate);
-       SlaveBoardB.baudrate=baudrate;
-       /* something to do with the new baudrate */
+       eprintf("TestSlaveB_StoreConfiguration\n");
 }
+