Fixed Lighting Output Step Up/On and Down/Off mixup. (#1099)

This commit is contained in:
Steve Karg
2025-09-18 15:01:39 -05:00
committed by GitHub
parent 547d7dfa98
commit bc2e0866e3
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -117,6 +117,7 @@ The git repositories are hosted at the following sites:
### Fixed
* Fixed Lighting Output step operations mixup. (#1099)
* Fixed Lighting Output step operations to set the Priority_Array slot. (#1098)
* Fixed the lighting output objects current priority comparison during
lighting commands by using priority 17 for relinquish default
+2 -2
View File
@@ -1369,7 +1369,7 @@ bool Lighting_Output_Lighting_Command_Set(
"LO[%u]: Lighting-Command@%u Step "
"Step-Increment=%f\n",
object_instance, priority, (double)value->step_increment);
Lighting_Command_Step_Down_Off(
Lighting_Command_Step_Up_On(
pObject, priority, value->operation, value->step_increment);
status = true;
break;
@@ -1379,7 +1379,7 @@ bool Lighting_Output_Lighting_Command_Set(
"LO[%u]: Lighting-Command@%u Step "
"Step-Increment=%f\n",
object_instance, priority, (double)value->step_increment);
Lighting_Command_Step_Up_On(
Lighting_Command_Step_Down_Off(
pObject, priority, value->operation, value->step_increment);
status = true;
break;