Updated some ARM and AVR ports projects which needed changes to API for some BACnet objects. Compiled with IAR ARM and AVR compiler.

This commit is contained in:
skarg
2013-05-22 17:44:57 +00:00
parent f52fc092e5
commit 81d69f910d
19 changed files with 2417 additions and 1444 deletions
+7 -2
View File
@@ -175,15 +175,20 @@ bool Binary_Output_Present_Value_Set(
return status;
}
static void Binary_Output_Polarity_Set(
bool Binary_Output_Polarity_Set(
uint32_t instance,
BACNET_POLARITY polarity)
{
bool status = false;
if (instance < MAX_BINARY_OUTPUTS) {
if (polarity < MAX_POLARITY) {
Polarity[instance] = polarity;
status = true;
}
}
return status;
}
BACNET_POLARITY Binary_Output_Polarity(
@@ -198,7 +203,7 @@ BACNET_POLARITY Binary_Output_Polarity(
return polarity;
}
static void Binary_Output_Out_Of_Service_Set(
void Binary_Output_Out_Of_Service_Set(
uint32_t instance,
bool flag)
{