fix: Nanoleaf - Udp Network init was missing (#698)

* Fix Nanoleaf - Udp Network init was missing

* ProviderUdp - Add init error handling
This commit is contained in:
LordGrey
2020-02-23 23:18:34 +01:00
committed by GitHub
parent a2dbbcdd0d
commit f955af29fd
3 changed files with 27 additions and 16 deletions

View File

@@ -166,7 +166,7 @@ int LedDevice::updateLeds(const std::vector<ColorRgb>& ledValues)
int retval = 0;
if ( !_deviceReady || _deviceInError)
{
std::cout << "LedDevice::updateLeds(), LedDevice NOT ready!" << std::endl;
//std::cout << "LedDevice::updateLeds(), LedDevice NOT ready!" << std::endl;
return -1;
}
else