Added linked list of lighting-command notification callbacks, (#893)

This commit is contained in:
Steve Karg
2025-01-21 14:30:38 -06:00
committed by GitHub
parent cfe257fe69
commit 44c2bccdeb
4 changed files with 69 additions and 22 deletions
+1 -1
View File
@@ -2394,7 +2394,7 @@ uint32_t Lighting_Output_Create(uint32_t object_instance)
pObject->Physical_Value = 0.0f;
lighting_command_init(&pObject->Lighting_Command);
pObject->Lighting_Command.Key = object_instance;
pObject->Lighting_Command.Tracking_Value_Callback =
pObject->Lighting_Command.Notification_Head.callback =
Lighting_Output_Tracking_Value_Callback;
pObject->Last_Lighting_Command.operation = BACNET_LIGHTS_NONE;
pObject->Last_Lighting_Command.use_target_level = false;