fix some wrong comments in TestMasterMicroMod.c
authorgreg
Mon, 10 Dec 2007 16:08:58 +0100
changeset 335 6052c980c3af
parent 334 3240ff752bc2
child 336 42ab55532da8
fix some wrong comments in TestMasterMicroMod.c
examples/TestMasterMicroMod/TestMasterMicroMod.c
--- a/examples/TestMasterMicroMod/TestMasterMicroMod.c	Mon Dec 10 11:05:43 2007 +0100
+++ b/examples/TestMasterMicroMod/TestMasterMicroMod.c	Mon Dec 10 16:08:58 2007 +0100
@@ -174,7 +174,7 @@
 		break;
 					
 		case 4: 
-		{	/*disable Slave's TPDO 2 */
+		{	/*disable Slave's RPDO 1 */
 			UNS32 TPDO_COBId = 0x80000200 + nodeId;
 			
 			eprintf("Master : disable slave %2.2x RPDO 1\n", nodeId);
@@ -209,7 +209,7 @@
 		break;
 
 		case 6: 
-		{	/*re-enable Slave's TPDO 1 */
+		{	/*re-enable Slave's RPDO 1 */
 			UNS32 TPDO_COBId = 0x00000200 + nodeId;
 			
 			eprintf("Master : re-enable %2.2x RPDO 1\n", nodeId);
@@ -227,6 +227,7 @@
 		
 		case 7:	
 		{
+			/*set the heartbeat Producer Time*/
 			UNS16 Heartbeat_Producer_Time = 0x03E8; 
 			eprintf("Master : set slave %2.2x heartbeat producer time \n", nodeId);
 			res = writeNetworkDictCallBack (d, /*CO_Data* d*/
@@ -276,7 +277,7 @@
 		break;			
 
 		case 10: 
-		{	/*disable Slave's TPDO 2 */
+		{	/*disable Slave's TPDO 4 */
 			UNS32 TPDO_COBId = 0x80000480 + nodeId;
 			
 			eprintf("Master : disable slave %2.2x TPDO 4 \n", nodeId);