Updated ports/win32 demo for Visual C++ to compile and run with the latest example objects (BI, BO, and LSP). Cleaned up a couple of compile warnings, which corrected a bug in the Binary Output object.

This commit is contained in:
skarg
2006-05-02 14:06:16 +00:00
parent 23a00b7676
commit a6cd9d3967
9 changed files with 186 additions and 43 deletions
+2 -2
View File
@@ -104,9 +104,9 @@ unsigned Binary_Output_Instance_To_Index(uint32_t object_instance)
return index;
}
static float Binary_Output_Present_Value(uint32_t object_instance)
static BACNET_BINARY_PV Binary_Output_Present_Value(uint32_t object_instance)
{
float value = RELINQUISH_DEFAULT;
BACNET_BINARY_PV value = RELINQUISH_DEFAULT;
unsigned index = 0;
unsigned i = 0;