Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
regression-suites
Commits
43eb9ee5
Commit
43eb9ee5
authored
Jun 13, 2018
by
Thanassis Tsiodras
Browse files
Fix printf format strings.
parent
ea7b2ac4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Demo_Eth_GR740_to_PC/livesingr740/livesingr740.c
View file @
43eb9ee5
...
...
@@ -9,7 +9,11 @@ void livesingr740_startup()
void
livesingr740_PI_something
(
const
asn1SccT_SEQ
*
IN_inputData
)
{
puts
(
"[livesingr740_PI_something]"
);
printf
(
"[livesinxgr740_PI_something] anInt: %lld
\n
"
,
IN_inputData
->
anInt
);
printf
(
"[livesinxgr740_PI_something] aFloat: %f
\n
"
,
IN_inputData
->
aFloat
);
printf
(
"[livesinxgr740_PI_something] arr[0]: %f
\n
"
,
IN_inputData
->
anArray
.
arr
[
0
]);
printf
(
"[livesinxgr740_PI_something] arr[1]: %f
\n
"
,
IN_inputData
->
anArray
.
arr
[
1
]);
printf
(
"[livesinxgr740_PI_something] arr[2]: %f
\n
"
,
IN_inputData
->
anArray
.
arr
[
2
]);
livesingr740_RI_report
(
IN_inputData
);
}
Demo_Eth_GR740_to_PC/livesinx86/livesinx86.c
View file @
43eb9ee5
...
...
@@ -23,10 +23,10 @@ void livesinx86_PI_pulse()
void
livesinx86_PI_report
(
const
asn1SccT_SEQ
*
IN_inputData
)
{
printf
(
"[livesinx86_PI_report] anInt: %lld
d
\n
"
,
IN_inputData
->
anInt
);
printf
(
"[livesinx86_PI_report] anInt: %lld
\n
"
,
IN_inputData
->
anInt
);
printf
(
"[livesinx86_PI_report] aFloat: %f
\n
"
,
IN_inputData
->
aFloat
);
printf
(
"[livesinx86_PI_report] arr[0]: %
lldd
\n
"
,
IN_inputData
->
anArray
.
arr
[
0
]);
printf
(
"[livesinx86_PI_report] arr[1]: %
lldd
\n
"
,
IN_inputData
->
anArray
.
arr
[
1
]);
printf
(
"[livesinx86_PI_report] arr[2]: %
lldd
\n
"
,
IN_inputData
->
anArray
.
arr
[
2
]);
printf
(
"[livesinx86_PI_report] arr[0]: %
f
\n
"
,
IN_inputData
->
anArray
.
arr
[
0
]);
printf
(
"[livesinx86_PI_report] arr[1]: %
f
\n
"
,
IN_inputData
->
anArray
.
arr
[
1
]);
printf
(
"[livesinx86_PI_report] arr[2]: %
f
\n
"
,
IN_inputData
->
anArray
.
arr
[
2
]);
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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