Skip to content

Commit

Permalink
Counting is hard
Browse files Browse the repository at this point in the history
  • Loading branch information
HoldYourWaffle committed Aug 20, 2018
1 parent 1791e8c commit 8ab16f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apply plugin: 'java-library'
version = 1.3
version = '1.3.1'

sourceCompatibility = targetCompatibility = 1.8 //same as pi4j

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/jimbo/pijava/blinkt/BlinktController.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
}

/**
Expand Down Expand Up @@ -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 });
}

/**
Expand Down

0 comments on commit 8ab16f1

Please sign in to comment.