Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
4b8aa435
Commit
4b8aa435
authored
Nov 11, 2010
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Profinet check of changed gsdml file removed in runtime again
parent
ae1fc3e5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
profibus/lib/rt/src/rt_pn_gsdml_data.cpp
profibus/lib/rt/src/rt_pn_gsdml_data.cpp
+12
-10
No files found.
profibus/lib/rt/src/rt_pn_gsdml_data.cpp
View file @
4b8aa435
...
@@ -383,6 +383,7 @@ int GsdmlDataReader::tag_attribute( const char *name, const char *value)
...
@@ -383,6 +383,7 @@ int GsdmlDataReader::tag_attribute( const char *name, const char *value)
switch
(
current_tag
)
{
switch
(
current_tag
)
{
case
gsdmldata_eTag_PnDevice
:
case
gsdmldata_eTag_PnDevice
:
if
(
strcmp
(
name
,
"GsdmlFile"
)
==
0
)
{
if
(
strcmp
(
name
,
"GsdmlFile"
)
==
0
)
{
if
(
strcmp
(
data
->
gsdmlfile
,
""
)
!=
0
)
{
// Check that the GSDML file is not changed
// Check that the GSDML file is not changed
char
*
gsdmlfile_p
;
char
*
gsdmlfile_p
;
...
@@ -395,6 +396,7 @@ int GsdmlDataReader::tag_attribute( const char *name, const char *value)
...
@@ -395,6 +396,7 @@ int GsdmlDataReader::tag_attribute( const char *name, const char *value)
if
(
strcmp
(
value
,
gsdmlfile_p
)
!=
0
)
if
(
strcmp
(
value
,
gsdmlfile_p
)
!=
0
)
return
PB__GSDMLFILEMISMATCH
;
return
PB__GSDMLFILEMISMATCH
;
}
}
}
else
if
(
strcmp
(
name
,
"DeviceText"
)
==
0
)
else
if
(
strcmp
(
name
,
"DeviceText"
)
==
0
)
strncpy
(
data
->
device_text
,
value
,
sizeof
(
data
->
device_text
));
strncpy
(
data
->
device_text
,
value
,
sizeof
(
data
->
device_text
));
else
if
(
strcmp
(
name
,
"DeviceNumber"
)
==
0
)
else
if
(
strcmp
(
name
,
"DeviceNumber"
)
==
0
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment