projects
/
profile
/
ivi
/
dlt-daemon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f2de0e
)
sprintf with float64 fails on ARM platform; disabled this dunction on QRM platform.
author
alex
<alex@nbtserver2.(none)>
Tue, 24 May 2011 12:40:06 +0000
(14:40 +0200)
committer
alex
<alex@nbtserver2.(none)>
Tue, 24 May 2011 12:40:06 +0000
(14:40 +0200)
src/shared/dlt_common.c
patch
|
blob
|
history
diff --git
a/src/shared/dlt_common.c
b/src/shared/dlt_common.c
index
21a36da
..
0533c0e
100755
(executable)
--- a/
src/shared/dlt_common.c
+++ b/
src/shared/dlt_common.c
@@
-3385,7
+3385,11
@@
int dlt_message_argument_print(DltMessage *msg,uint32_t type_info,uint8_t **ptr,
memcpy(&value64f_tmp_int64i,&value64f_tmp,sizeof(float64_t));
value64f_tmp_int64i_swaped=DLT_ENDIAN_GET_64(msg->standardheader->htyp, (uint64_t)value64f_tmp_int64i);
memcpy(&value64f,&value64f_tmp_int64i_swaped,sizeof(float64_t));
+#ifdef __arm__
+ sprintf(text+strlen(text),"ILLEGAL");
+#else
sprintf(text+strlen(text),"%g",value64f);
+#endif
}
else
{