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