Fix - Nanoleaf crashes hyperion

This commit is contained in:
LordGrey 2020-04-23 19:05:27 +02:00
parent 3a2b58b571
commit 0c16293319

View File

@ -255,6 +255,12 @@ int LedDeviceNanoleaf::open()
_deviceReady = false;
if ( init(_devConfig) )
{
if ( !initNetwork() )
{
this->setInError( "UDP Network error!" );
}
else
{
if ( initLeds() )
{
@ -263,6 +269,7 @@ int LedDeviceNanoleaf::open()
retval = 0;
}
}
}
return retval;
}