Added device WriteProperty callbacks for Timer object in example device objects implementations. (#1203)
This commit is contained in:
@@ -2919,6 +2919,7 @@ void Device_Init(object_functions_t *object_table)
|
||||
characterstring_init_ansi(&My_Object_Name, Device_Name_Default);
|
||||
#if (BACNET_PROTOCOL_REVISION >= 14)
|
||||
#ifdef CONFIG_BACNET_BASIC_OBJECT_CHANNEL
|
||||
/* link WriteProperty to Channel object for references */
|
||||
Channel_Write_Property_Internal_Callback_Set(Device_Write_Property);
|
||||
#endif
|
||||
#endif
|
||||
@@ -2927,6 +2928,10 @@ void Device_Init(object_functions_t *object_table)
|
||||
Loop_Read_Property_Internal_Callback_Set(Device_Read_Property);
|
||||
Loop_Write_Property_Internal_Callback_Set(Device_Write_Property);
|
||||
#endif
|
||||
#ifdef CONFIG_BACNET_BASIC_OBJECT_TIMER
|
||||
/* link WriteProperty to Timer object for references */
|
||||
Timer_Write_Property_Internal_Callback_Set(Device_Write_Property);
|
||||
#endif
|
||||
}
|
||||
|
||||
bool DeviceGetRRInfo(
|
||||
|
||||
Reference in New Issue
Block a user