Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
regression-suites
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
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
TASTE
regression-suites
Commits
43eb9ee5
Commit
43eb9ee5
authored
Jun 13, 2018
by
Thanassis Tsiodras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix printf format strings.
parent
ea7b2ac4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
Demo_Eth_GR740_to_PC/livesingr740/livesingr740.c
Demo_Eth_GR740_to_PC/livesingr740/livesingr740.c
+5
-1
Demo_Eth_GR740_to_PC/livesinx86/livesinx86.c
Demo_Eth_GR740_to_PC/livesinx86/livesinx86.c
+4
-4
No files found.
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
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