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
7b52584b
Commit
7b52584b
authored
Sep 02, 2014
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wb dataarithm fix for DataRef
parent
0940f4bd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
20 deletions
+20
-20
wb/lib/wb/src/wb_foe_dataarithm.c
wb/lib/wb/src/wb_foe_dataarithm.c
+20
-20
No files found.
wb/lib/wb/src/wb_foe_dataarithm.c
View file @
7b52584b
...
...
@@ -228,7 +228,7 @@ static pwr_tStatus dataa_Da1 (
if
(
dataactx
->
outdata1_eq_indata
)
{
sprintf
(
out
,
"Da1 */ memcpy( &%s->OutData1, %s->DataIn1P,
32
)"
,
var
,
var
);
"Da1 */ memcpy( &%s->OutData1, %s->DataIn1P,
sizeof(pwr_tDataRef)
)"
,
var
,
var
);
dataactx
->
outdata1_eq_indata
=
0
;
*
incr
=
strlen
(
out
);
return
GSX__SUCCESS
;
...
...
@@ -236,7 +236,7 @@ static pwr_tStatus dataa_Da1 (
if
(
dataactx
->
outdata2_eq_indata
)
{
sprintf
(
out
,
"Da1 */ memcpy( &%s->OutData2, %s->DataIn1P,
32
)"
,
var
,
var
);
"Da1 */ memcpy( &%s->OutData2, %s->DataIn1P,
sizeof(pwr_tDataRef)
)"
,
var
,
var
);
dataactx
->
outdata2_eq_indata
=
0
;
*
incr
=
strlen
(
out
);
return
GSX__SUCCESS
;
...
...
@@ -244,7 +244,7 @@ static pwr_tStatus dataa_Da1 (
if
(
dataactx
->
outdata3_eq_indata
)
{
sprintf
(
out
,
"Da1 */ memcpy( &%s->OutData3, %s->DataIn1P,
32
)"
,
var
,
var
);
"Da1 */ memcpy( &%s->OutData3, %s->DataIn1P,
sizeof(pwr_tDataRef)
)"
,
var
,
var
);
dataactx
->
outdata3_eq_indata
=
0
;
*
incr
=
strlen
(
out
);
return
GSX__SUCCESS
;
...
...
@@ -252,7 +252,7 @@ static pwr_tStatus dataa_Da1 (
if
(
dataactx
->
outdata4_eq_indata
)
{
sprintf
(
out
,
"Da1 */ memcpy( &%s->OutData4, %s->DataIn1P,
32
)"
,
var
,
var
);
"Da1 */ memcpy( &%s->OutData4, %s->DataIn1P,
sizeof(pwr_tDataRef)
)"
,
var
,
var
);
dataactx
->
outdata4_eq_indata
=
0
;
*
incr
=
strlen
(
out
);
return
GSX__SUCCESS
;
...
...
@@ -286,7 +286,7 @@ static pwr_tStatus dataa_Da2 (
if
(
dataactx
->
outdata1_eq_indata
)
{
sprintf
(
out
,
"Da2 */ memcpy( &%s->OutData1, %s->DataIn2P,
32
)"
,
var
,
var
);
"Da2 */ memcpy( &%s->OutData1, %s->DataIn2P,
sizeof(pwr_tDataRef)
)"
,
var
,
var
);
dataactx
->
outdata1_eq_indata
=
0
;
*
incr
=
strlen
(
out
);
return
GSX__SUCCESS
;
...
...
@@ -294,7 +294,7 @@ static pwr_tStatus dataa_Da2 (
if
(
dataactx
->
outdata2_eq_indata
)
{
sprintf
(
out
,
"Da2 */ memcpy( &%s->OutData2, %s->DataIn2P,
32
)"
,
var
,
var
);
"Da2 */ memcpy( &%s->OutData2, %s->DataIn2P,
sizeof(pwr_tDataRef)
)"
,
var
,
var
);
dataactx
->
outdata2_eq_indata
=
0
;
*
incr
=
strlen
(
out
);
return
GSX__SUCCESS
;
...
...
@@ -302,7 +302,7 @@ static pwr_tStatus dataa_Da2 (
if
(
dataactx
->
outdata3_eq_indata
)
{
sprintf
(
out
,
"Da2 */ memcpy( &%s->OutData3, %s->DataIn2P,
32
)"
,
var
,
var
);
"Da2 */ memcpy( &%s->OutData3, %s->DataIn2P,
sizeof(pwr_tDataRef)
)"
,
var
,
var
);
dataactx
->
outdata3_eq_indata
=
0
;
*
incr
=
strlen
(
out
);
return
GSX__SUCCESS
;
...
...
@@ -310,7 +310,7 @@ static pwr_tStatus dataa_Da2 (
if
(
dataactx
->
outdata4_eq_indata
)
{
sprintf
(
out
,
"Da2 */ memcpy( &%s->OutData4, %s->DataIn2P,
32
)"
,
var
,
var
);
"Da2 */ memcpy( &%s->OutData4, %s->DataIn2P,
sizeof(pwr_tDataRef)
)"
,
var
,
var
);
dataactx
->
outdata4_eq_indata
=
0
;
*
incr
=
strlen
(
out
);
return
GSX__SUCCESS
;
...
...
@@ -344,7 +344,7 @@ static pwr_tStatus dataa_Da3 (
if
(
dataactx
->
outdata1_eq_indata
)
{
sprintf
(
out
,
"Da3 */ memcpy( &%s->OutData1, %s->DataIn3P,
32
)"
,
var
,
var
);
"Da3 */ memcpy( &%s->OutData1, %s->DataIn3P,
sizeof(pwr_tDataRef)
)"
,
var
,
var
);
dataactx
->
outdata1_eq_indata
=
0
;
*
incr
=
strlen
(
out
);
return
GSX__SUCCESS
;
...
...
@@ -352,7 +352,7 @@ static pwr_tStatus dataa_Da3 (
if
(
dataactx
->
outdata2_eq_indata
)
{
sprintf
(
out
,
"Da3 */ memcpy( &%s->OutData2, %s->DataIn3P,
32
)"
,
var
,
var
);
"Da3 */ memcpy( &%s->OutData2, %s->DataIn3P,
sizeof(pwr_tDataRef)
)"
,
var
,
var
);
dataactx
->
outdata2_eq_indata
=
0
;
*
incr
=
strlen
(
out
);
return
GSX__SUCCESS
;
...
...
@@ -360,7 +360,7 @@ static pwr_tStatus dataa_Da3 (
if
(
dataactx
->
outdata3_eq_indata
)
{
sprintf
(
out
,
"Da3 */ memcpy( &%s->OutData3, %s->DataIn3P,
32
)"
,
var
,
var
);
"Da3 */ memcpy( &%s->OutData3, %s->DataIn3P,
sizeof(pwr_tDataRef)
)"
,
var
,
var
);
dataactx
->
outdata3_eq_indata
=
0
;
*
incr
=
strlen
(
out
);
return
GSX__SUCCESS
;
...
...
@@ -368,7 +368,7 @@ static pwr_tStatus dataa_Da3 (
if
(
dataactx
->
outdata4_eq_indata
)
{
sprintf
(
out
,
"Da3 */ memcpy( &%s->OutData4, %s->DataIn3P,
32
)"
,
var
,
var
);
"Da3 */ memcpy( &%s->OutData4, %s->DataIn3P,
sizeof(pwr_tDataRef)
)"
,
var
,
var
);
dataactx
->
outdata4_eq_indata
=
0
;
*
incr
=
strlen
(
out
);
return
GSX__SUCCESS
;
...
...
@@ -402,7 +402,7 @@ static pwr_tStatus dataa_Da4 (
if
(
dataactx
->
outdata1_eq_indata
)
{
sprintf
(
out
,
"Da4 */ memcpy( &%s->OutData1, %s->DataIn4P,
32
)"
,
var
,
var
);
"Da4 */ memcpy( &%s->OutData1, %s->DataIn4P,
sizeof(pwr_tDataRef)
)"
,
var
,
var
);
dataactx
->
outdata1_eq_indata
=
0
;
*
incr
=
strlen
(
out
);
return
GSX__SUCCESS
;
...
...
@@ -410,7 +410,7 @@ static pwr_tStatus dataa_Da4 (
if
(
dataactx
->
outdata2_eq_indata
)
{
sprintf
(
out
,
"Da4 */ memcpy( &%s->OutData2, %s->DataIn4P,
32
)"
,
var
,
var
);
"Da4 */ memcpy( &%s->OutData2, %s->DataIn4P,
sizeof(pwr_tDataRef)
)"
,
var
,
var
);
dataactx
->
outdata2_eq_indata
=
0
;
*
incr
=
strlen
(
out
);
return
GSX__SUCCESS
;
...
...
@@ -418,7 +418,7 @@ static pwr_tStatus dataa_Da4 (
if
(
dataactx
->
outdata3_eq_indata
)
{
sprintf
(
out
,
"Da4 */ memcpy( &%s->OutData3, %s->DataIn4P,
32
)"
,
var
,
var
);
"Da4 */ memcpy( &%s->OutData3, %s->DataIn4P,
sizeof(pwr_tDataRef)
)"
,
var
,
var
);
dataactx
->
outdata3_eq_indata
=
0
;
*
incr
=
strlen
(
out
);
return
GSX__SUCCESS
;
...
...
@@ -426,7 +426,7 @@ static pwr_tStatus dataa_Da4 (
if
(
dataactx
->
outdata4_eq_indata
)
{
sprintf
(
out
,
"Da4 */ memcpy( &%s->OutData4, %s->DataIn4P,
32
)"
,
var
,
var
);
"Da4 */ memcpy( &%s->OutData4, %s->DataIn4P,
sizeof(pwr_tDataRef)
)"
,
var
,
var
);
dataactx
->
outdata4_eq_indata
=
0
;
*
incr
=
strlen
(
out
);
return
GSX__SUCCESS
;
...
...
@@ -478,7 +478,7 @@ static pwr_tStatus dataa_ODa1 (
}
}
if
(
!
dataactx
->
outdata1_eq_indata
)
sprintf
(
out
,
"(%s->OutData1)"
,
var
);
sprintf
(
out
,
"(%s->OutData1
.Ptr
)"
,
var
);
*
incr
=
strlen
(
out
);
return
GSX__SUCCESS
;
}
...
...
@@ -513,7 +513,7 @@ static pwr_tStatus dataa_ODa2 (
}
}
if
(
!
dataactx
->
outdata2_eq_indata
)
sprintf
(
out
,
"(%s->OutData2)"
,
var
);
sprintf
(
out
,
"(%s->OutData2
.Ptr
)"
,
var
);
*
incr
=
strlen
(
out
);
return
GSX__SUCCESS
;
}
...
...
@@ -548,7 +548,7 @@ static pwr_tStatus dataa_ODa3 (
}
}
if
(
!
dataactx
->
outdata3_eq_indata
)
sprintf
(
out
,
"(%s->OutData3)"
,
var
);
sprintf
(
out
,
"(%s->OutData3
.Ptr
)"
,
var
);
*
incr
=
strlen
(
out
);
return
GSX__SUCCESS
;
}
...
...
@@ -583,7 +583,7 @@ static pwr_tStatus dataa_ODa4 (
}
}
if
(
!
dataactx
->
outdata4_eq_indata
)
sprintf
(
out
,
"(%s->OutData4)"
,
var
);
sprintf
(
out
,
"(%s->OutData4
.Ptr
)"
,
var
);
*
incr
=
strlen
(
out
);
return
GSX__SUCCESS
;
}
...
...
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