Merge branch 'main' into tyler

This commit is contained in:
Tyler Wilcox 2023-03-14 22:07:05 -04:00 committed by GitHub
commit 71eb89fadf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ public class ArduinoLightingController {
Matcher m = colorPattern.matcher(colorValue); Matcher m = colorPattern.matcher(colorValue);
return m.find(); return m.find();
} }
private int executeColor(String colorValue, String command) { public int executeColor(String colorValue, String command) {
if ( validateColor(colorValue) ) { if ( validateColor(colorValue) ) {
return bus.writeString( colorValue + command ); return bus.writeString( colorValue + command );
} }