Azure IoT / serializer

Dependents:   sht15_remote_monitoring f767zi_mqtt remote_monitoring simplesample_amqp ... more

Files at this revision

API Documentation at this revision

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;