Skip to content

Commit e19cd90

Browse files
bartlomiej.zarnowskiAbhijit Mahajani
authored andcommitted
Work around for crash with floats
Signed-off-by: Bartlomiej.Zarnowski <bartlomiej.zarnowski@imgtec.com>
1 parent 08032e3 commit e19cd90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lwm2m-client-ipso-set-point.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ AwaError SetPointObject_DefineObjectsAndResources(AwaStaticClient *awaClient, Se
137137
return error;
138138
}
139139

140-
error = AwaStaticClient_DefineResource(awaClient, IPSO_SET_POINT_OBJECT, IPSO_SET_POINT_VALUE, "Value", AwaResourceType_Float, 1, 1,
140+
error = AwaStaticClient_DefineResource(awaClient, IPSO_SET_POINT_OBJECT, IPSO_SET_POINT_VALUE, "Value", AwaResourceType_Integer, 1, 1,
141141
AwaResourceOperations_ReadWrite);
142142
AwaStaticClient_SetResourceOperationHandler(awaClient, IPSO_SET_POINT_OBJECT, IPSO_SET_POINT_VALUE, SetPointObject_Handler);
143143
if (error != AwaError_Success)

0 commit comments

Comments
 (0)