mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-15 04:34:56 +00:00
adds missing condition to set remoteTimeout from config value
This commit is contained in:
@@ -148,6 +148,11 @@ namespace PepperDash.Essentials.Core
|
|||||||
SetLedFlashEnable((bool)PropertiesConfig.EnableLedFlash);
|
SetLedFlashEnable((bool)PropertiesConfig.EnableLedFlash);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (PropertiesConfig.RemoteTimeout != null)
|
||||||
|
{
|
||||||
|
SetRemoteTimeout((ushort)PropertiesConfig.RemoteTimeout);
|
||||||
|
}
|
||||||
|
|
||||||
if (PropertiesConfig.ShortTimeoutState != null)
|
if (PropertiesConfig.ShortTimeoutState != null)
|
||||||
{
|
{
|
||||||
SetShortTimeoutState((bool)PropertiesConfig.ShortTimeoutState);
|
SetShortTimeoutState((bool)PropertiesConfig.ShortTimeoutState);
|
||||||
|
|||||||
@@ -100,6 +100,11 @@ namespace PepperDash.Essentials.Core
|
|||||||
SetLedFlashEnable((bool)PropertiesConfig.EnableLedFlash);
|
SetLedFlashEnable((bool)PropertiesConfig.EnableLedFlash);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (PropertiesConfig.RemoteTimeout != null)
|
||||||
|
{
|
||||||
|
SetRemoteTimeout((ushort)PropertiesConfig.RemoteTimeout);
|
||||||
|
}
|
||||||
|
|
||||||
if (PropertiesConfig.ShortTimeoutState != null)
|
if (PropertiesConfig.ShortTimeoutState != null)
|
||||||
{
|
{
|
||||||
SetShortTimeoutState((bool)PropertiesConfig.ShortTimeoutState);
|
SetShortTimeoutState((bool)PropertiesConfig.ShortTimeoutState);
|
||||||
|
|||||||
Reference in New Issue
Block a user