--- a/examples/TestMasterMicroMod/TestMaster.c Thu Oct 11 08:51:29 2007 +0200
+++ b/examples/TestMasterMicroMod/TestMaster.c Thu Oct 11 09:09:07 2007 +0200
@@ -25,8 +25,7 @@
{
switch (typeValue) {
case valueRange_EMC:
- if (*(UNS8*)value < (UNS8)0) return OD_VALUE_TOO_LOW;
- if (*(UNS8*)value > (UNS8)0) return OD_VALUE_TOO_HIGH;
+ if (*(UNS8*)value != (UNS8)0) return OD_VALUE_RANGE_EXCEEDED;
break;
}
return 0;
@@ -36,7 +35,7 @@
/* The node id */
/**************************************************************************/
/* node_id default value.*/
-UNS8 TestMaster_bDeviceNodeId = 0x01;
+UNS8 TestMaster_bDeviceNodeId = 0x00;
/**************************************************************************/
/* Array of message processing information */