Make dvar set methods also set the latched values

This commit is contained in:
Jan 2021-08-23 00:45:49 +02:00
parent b3e5f461f2
commit cc9a2b0bac

View File

@ -116,6 +116,7 @@ namespace Components
if (this->dvar)
{
this->dvar->current.integer = integer;
this->dvar->latched.integer = integer;
}
}
@ -124,6 +125,7 @@ namespace Components
if (this->dvar)
{
this->dvar->current.value = value;
this->dvar->latched.value = value;
}
}
@ -132,6 +134,7 @@ namespace Components
if (this->dvar)
{
this->dvar->current.enabled = value;
this->dvar->latched.enabled = value;
}
}