mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Merge branch 'master' of https://github.com/tvdzwan/hyperion
Former-commit-id: 57fe3f2c5c05680636ef1317c30355ea7636da3b
This commit is contained in:
commit
333cecdca8
@ -339,7 +339,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
/// The boot-sequence configuration, contains the following items:
|
/// The boot-sequence configuration, contains the following items:
|
||||||
/// * type : The type of the boot-sequence ('rainbow', 'knight_rider', 'none')
|
/// * type : The type of the boot-sequence ('rainbow', 'knightrider', 'none')
|
||||||
/// * duration_ms : The length of the boot-sequence [ms]
|
/// * duration_ms : The length of the boot-sequence [ms]
|
||||||
"bootsequence" :
|
"bootsequence" :
|
||||||
{
|
{
|
||||||
|
@ -1 +1 @@
|
|||||||
97f01ae47416100223417becca5c3a50a773fbfa
|
944c2292ca55b16a31bdf1d89e0e7849d6879995
|
@ -20,7 +20,7 @@ public enum BootSequence {
|
|||||||
case rainbow:
|
case rainbow:
|
||||||
return "Rainbow";
|
return "Rainbow";
|
||||||
case knightrider:
|
case knightrider:
|
||||||
return "Kinght Rider";
|
return "Knight Rider";
|
||||||
}
|
}
|
||||||
return "None";
|
return "None";
|
||||||
}
|
}
|
||||||
|
@ -68,7 +68,7 @@ public class MiscConfig {
|
|||||||
String bootPreamble = mBootsequenceEnabled? "\t" : "//\t";
|
String bootPreamble = mBootsequenceEnabled? "\t" : "//\t";
|
||||||
strBuf.append(bootPreamble).append("\"bootsequence\" :\n");
|
strBuf.append(bootPreamble).append("\"bootsequence\" :\n");
|
||||||
strBuf.append(bootPreamble).append("{\n");
|
strBuf.append(bootPreamble).append("{\n");
|
||||||
strBuf.append(bootPreamble).append(String.format(Locale.ROOT, "\t\"type\" : \"%s\",\n", mBootSequence));
|
strBuf.append(bootPreamble).append(String.format(Locale.ROOT, "\t\"type\" : \"%s\",\n", mBootSequence.name()));
|
||||||
strBuf.append(bootPreamble).append(String.format(Locale.ROOT, "\t\"duration_ms\" : %d\n", mBootSequenceLength_ms));
|
strBuf.append(bootPreamble).append(String.format(Locale.ROOT, "\t\"duration_ms\" : %d\n", mBootSequenceLength_ms));
|
||||||
strBuf.append(bootPreamble).append("},\n\n");
|
strBuf.append(bootPreamble).append("},\n\n");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user