From 8ab16f1f22f29bbe670d98f3f347aab98b218a41 Mon Sep 17 00:00:00 2001 From: Ravi van Rooijen Date: Mon, 20 Aug 2018 23:40:49 +0200 Subject: [PATCH] Counting is hard --- build.gradle | 2 +- src/main/java/jimbo/pijava/blinkt/BlinktController.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index f6ce761..c365f3d 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ apply plugin: 'java-library' -version = 1.3 +version = '1.3.1' sourceCompatibility = targetCompatibility = 1.8 //same as pi4j diff --git a/src/main/java/jimbo/pijava/blinkt/BlinktController.java b/src/main/java/jimbo/pijava/blinkt/BlinktController.java index fdb2f49..c91e96e 100644 --- a/src/main/java/jimbo/pijava/blinkt/BlinktController.java +++ b/src/main/java/jimbo/pijava/blinkt/BlinktController.java @@ -426,7 +426,7 @@ public void setTo(int[] reds, int[] greens, int[] blues, float[] brightnesses) { * @since 1.3 */ public void setTo(int[] reds, int[] greens, int[] blues, float brightness) { - setTo(reds, greens, blues, new float[] { brightness, brightness, brightness, brightness, brightness, brightness, brightness }); + setTo(reds, greens, blues, new float[] { brightness, brightness, brightness, brightness, brightness, brightness, brightness, brightness }); } /** @@ -470,7 +470,7 @@ public void setTo(Color[] colors, float[] brightnesses) { * @since 1.3 */ public void setTo(Color[] colors, float brightness) { - setTo(colors, new float[] { brightness, brightness, brightness, brightness, brightness, brightness, brightness }); + setTo(colors, new float[] { brightness, brightness, brightness, brightness, brightness, brightness, brightness, brightness }); } /**