mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Rpi ws281x submodule update (#441)
* Updated rpi_ws281x submodule version added dma channel option * update translations
This commit is contained in:
@@ -36,7 +36,7 @@ bool LedDeviceWS281x::init(const QJsonObject &deviceConfig)
|
||||
}
|
||||
|
||||
_led_string.freq = deviceConfig["freq"].toInt(800000ul);
|
||||
_led_string.dmanum = deviceConfig["dmanum"].toInt(5);
|
||||
_led_string.dmanum = deviceConfig["dma"].toInt(5);
|
||||
_led_string.channel[_channel].gpionum = deviceConfig["gpio"].toInt(18);
|
||||
_led_string.channel[_channel].count = deviceConfig["leds"].toInt(256);
|
||||
_led_string.channel[_channel].invert = deviceConfig["invert"].toInt(0);
|
||||
|
@@ -14,17 +14,23 @@
|
||||
"default": 18,
|
||||
"propertyOrder" : 2
|
||||
},
|
||||
"dma": {
|
||||
"type": "integer",
|
||||
"title":"edt_dev_spec_dmaNumber_title",
|
||||
"default": 5,
|
||||
"propertyOrder" : 3
|
||||
},
|
||||
"invert": {
|
||||
"type": "boolean",
|
||||
"title":"edt_dev_spec_invert_title",
|
||||
"default": false,
|
||||
"propertyOrder" : 3
|
||||
"propertyOrder" : 4
|
||||
},
|
||||
"rgbw": {
|
||||
"type": "boolean",
|
||||
"title":"edt_dev_spec_useRgbwProtocol_title",
|
||||
"default": false,
|
||||
"propertyOrder" : 3
|
||||
"propertyOrder" : 5
|
||||
},
|
||||
"whiteAlgorithm": {
|
||||
"type": "string",
|
||||
@@ -34,7 +40,7 @@
|
||||
"options" : {
|
||||
"enum_titles" : ["edt_dev_enum_subtract_minimum", "edt_dev_enum_sub_min_warm_adjust", "edt_dev_enum_white_off"]
|
||||
},
|
||||
"propertyOrder" : 4
|
||||
"propertyOrder" : 6
|
||||
},
|
||||
"latchTime": {
|
||||
"type": "integer",
|
||||
@@ -44,7 +50,7 @@
|
||||
"minimum": 1,
|
||||
"maximum": 1000,
|
||||
"access" : "expert",
|
||||
"propertyOrder" : 5
|
||||
"propertyOrder" : 7
|
||||
}
|
||||
},
|
||||
"additionalProperties": true
|
||||
|
Reference in New Issue
Block a user