diff --git a/libEDSsharp/CanOpenNodeExporter.cs b/libEDSsharp/CanOpenNodeExporter.cs index 817a5a4..450922f 100644 --- a/libEDSsharp/CanOpenNodeExporter.cs +++ b/libEDSsharp/CanOpenNodeExporter.cs @@ -457,7 +457,7 @@ struct { file.WriteLine(string.Format(" #define CO_NO_EMERGENCY {0} //Associated objects: 1014, 1015", noEMCY)); - file.WriteLine(string.Format(" #define CO_NO_TS {0} //Associated objects: 1012, 1013", noTS)); + file.WriteLine(string.Format(" #define CO_NO_TIME {0} //Associated objects: 1012, 1013", noTIME)); file.WriteLine(string.Format(" #define CO_NO_SDO_SERVER {0} //Associated objects: 1200-127F", noSDOservers)); file.WriteLine(string.Format(" #define CO_NO_SDO_CLIENT {0} //Associated objects: 1280-12FF", noSDOclients)); @@ -1397,7 +1397,7 @@ protected string export_one_record_type(ODentry sub,string arrayaccess) int distRXpdo = 0; int noSYNC = 0; int noEMCY = 0; - int noTS = 0; + int noTIME = 0; void countPDOS() { @@ -1440,7 +1440,7 @@ void countPDOS() noEMCY = 1; if (index == 0x1012) - noTS = 1; + noTIME = 1; } }