Slow down hour decades a little
authorPhilipp Zabel <philipp.zabel@gmail.com>
Wed, 19 May 2010 19:16:31 +0000 (21:16 +0200)
committerPhilipp Zabel <philipp.zabel@gmail.com>
Wed, 19 May 2010 21:50:50 +0000 (23:50 +0200)
chledclk.vala

index 2420fcc..49f4f1f 100644 (file)
@@ -42,10 +42,10 @@ class ChargingLEDClock : Object {
                string pattern = "9d804000";
                int jump = 2;
                if (time.hour >= 20) {
                string pattern = "9d804000";
                int jump = 2;
                if (time.hour >= 20) {
-                       pattern += "087f09ffa082";
+                       pattern += "0c7f0dffa082";
                        jump += 3;
                } else if (time.hour >= 10) {
                        jump += 3;
                } else if (time.hour >= 10) {
-                       pattern += "087f09ff";
+                       pattern += "0c7f0dff";
                        jump += 2;
                }
                if ((time.hour % 10) > 1) {
                        jump += 2;
                }
                if ((time.hour % 10) > 1) {