mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Fixed generation of device config type string
Former-commit-id: ec245b9fae3f2bae690e985657807389770539d9
This commit is contained in:
parent
8bf1e6bfa4
commit
73243eb593
@ -13,7 +13,7 @@
|
||||
"device" :
|
||||
{
|
||||
"name" : "MyPi",
|
||||
"type" : "WS2801",
|
||||
"type" : "ws2801",
|
||||
"output" : "/dev/spidev0.0",
|
||||
"rate" : 1000000,
|
||||
"bgr-output" : false
|
||||
|
@ -1 +1 @@
|
||||
001950ae6499ac83babe8e563be11b8daacd554c
|
||||
948743846fb38a0f1f9a91ebb721884f3890f965
|
@ -37,7 +37,7 @@ public class DeviceConfig {
|
||||
strBuf.append("\t{\n");
|
||||
|
||||
strBuf.append("\t\t\"name\" : \"").append(mName).append("\",\n");
|
||||
strBuf.append("\t\t\"type\" : \"").append(mType).append("\",\n");
|
||||
strBuf.append("\t\t\"type\" : \"").append(mType.name()).append("\",\n");
|
||||
strBuf.append("\t\t\"output\" : \"").append(mOutput).append("\",\n");
|
||||
strBuf.append("\t\t\"rate\" : ").append(mBaudrate).append(",\n");
|
||||
strBuf.append("\t\t\"bgr-output\" : ").append(mBgrOutput).append("\n");
|
||||
|
Loading…
Reference in New Issue
Block a user