Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: sht15_remote_monitoring f767zi_mqtt remote_monitoring simplesample_amqp ... more
Revision 7:5176a13270bb, committed 2016-02-04
- Comitter:
- Azure.IoT Build
- Date:
- Thu Feb 04 11:29:40 2016 -0800
- Parent:
- 6:36cc37b1dbc9
- Child:
- 8:380e6e830589
- Commit message:
- 1.0.0
Changed in this revision
| agenttypesystem.c | Show annotated file Show diff for this revision Revisions of this file |
| codefirst.c | Show annotated file Show diff for this revision Revisions of this file |
--- a/agenttypesystem.c Fri Jan 15 15:49:46 2016 -0800
+++ b/agenttypesystem.c Thu Feb 04 11:29:40 2016 -0800
@@ -1789,7 +1789,7 @@
break;
}
-#ifdef USE_FLOATS
+#ifndef NO_FLOATS
case(EDM_SINGLE_TYPE):
{
/*C89 standard says: When a float is promoted to double or long double, or a double is promoted to long double, its value is unchanged*/
--- a/codefirst.c Fri Jan 15 15:49:46 2016 -0800
+++ b/codefirst.c Thu Feb 04 11:29:40 2016 -0800
@@ -441,7 +441,7 @@
AGENT_DATA_TYPE_TYPE CodeFirst_GetPrimitiveType(const char* typeName)
{
-#ifdef USE_FLOATS
+#ifndef NO_FLOATS
if (strcmp(typeName, "double") == 0)
{
return EDM_DOUBLE_TYPE;
