mirror of
				https://github.com/hyperion-project/hyperion.ng.git
				synced 2025-03-01 10:33:28 +00:00 
			
		
		
		
	Add setting to log
This commit is contained in:
		@@ -25,8 +25,10 @@ bool LedDeviceSk6812_ftdi::init(const QJsonObject &deviceConfig)
 | 
			
		||||
	if (ProviderFtdi::init(deviceConfig))
 | 
			
		||||
	{
 | 
			
		||||
		_brightnessControlMaxLevel = deviceConfig["brightnessControlMaxLevel"].toInt(255);
 | 
			
		||||
        Info(_log, "[%s] Setting maximum brightness to [%d]", QSTRING_CSTR(_activeDeviceType), _brightnessControlMaxLevel);
 | 
			
		||||
 | 
			
		||||
		QString whiteAlgorithm = deviceConfig["whiteAlgorithm"].toString("white_off");
 | 
			
		||||
 | 
			
		||||
        QString whiteAlgorithm = deviceConfig["whiteAlgorithm"].toString("white_off");
 | 
			
		||||
 | 
			
		||||
		_whiteAlgorithm = RGBW::stringToWhiteAlgorithm(whiteAlgorithm);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user