|
@@ -77,12 +77,12 @@ struct LEDStrand strands[] = {
|
77
|
77
|
// This defines the update-speed of the Ambilight, in seconds.
|
78
|
78
|
// With a baudrate of 115200 and 156 LEDs and 14-bytes Magic-Word,
|
79
|
79
|
// theoretically you could transmit:
|
80
|
|
-// 115200 / (14 + (156 * 3)) * 8 =~ 30 Frames per Second
|
|
80
|
+// 115200 / ((14 + (156 * 3)) * 8) =~ 30 Frames per Second
|
81
|
81
|
// Inserting (1.0 / 30.0) here would try to reach these 30FPS,
|
82
|
82
|
// but will probably cause high CPU-Usage.
|
83
|
83
|
// (Run-Time of the algorithm is ignored here, so real speed will be
|
84
|
84
|
// slightly lower.)
|
85
|
|
-#define DISPLAY_DELAY (1.0 / 20.0)
|
|
85
|
+#define DISPLAY_DELAY (1.0 / 30.0)
|
86
|
86
|
|
87
|
87
|
// How many pixels to skip when calculating the average color.
|
88
|
88
|
// Slightly increases performance and doesn't really alter the result.
|