From fc97f448bf24cbe93aba6981d17b4486702ad455 Mon Sep 17 00:00:00 2001 From: skarg Date: Tue, 17 Apr 2007 13:29:21 +0000 Subject: [PATCH] Changed demo constant float instead of cast. --- bacnet-stack/demo/object/ai.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacnet-stack/demo/object/ai.c b/bacnet-stack/demo/object/ai.c index 35d5197d..308ecf60 100644 --- a/bacnet-stack/demo/object/ai.c +++ b/bacnet-stack/demo/object/ai.c @@ -84,7 +84,7 @@ int Analog_Input_Encode_Property_APDU(uint8_t * apdu, int apdu_len = 0; /* return value */ BACNET_BIT_STRING bit_string; BACNET_CHARACTER_STRING char_string; - float value = (float) 3.14; + float value = 3.14159F; (void) array_index; switch (property) {