Skip to content

Commit

Permalink
updated log statement
Browse files Browse the repository at this point in the history
  • Loading branch information
supertick committed Nov 23, 2023
1 parent 01cedf0 commit 3119798
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/org/myrobotlab/service/NeoPixel.java
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public void run() {
try {
LedDisplayData display = displayQueue.take();
// get led display data
log.error(display.toString());
log.info(display.toString());

NeoPixelController npc = (NeoPixelController) Runtime.getService(controller);
if (npc == null) {
Expand Down Expand Up @@ -420,7 +420,7 @@ public NeoPixelConfig apply(NeoPixelConfig c) {
@Override
public void attach(Attachable service) throws Exception {
if (service == null) {
log.error("cannot attache to null service");
log.error("cannot attach to null service");
return;
}

Expand Down Expand Up @@ -742,6 +742,7 @@ public void onFlash(String name) {
flash(name);
}

@Deprecated /* use onFlash */
public void onLedDisplay(LedDisplayData data) {
try {
addDisplayTask(data);
Expand Down

0 comments on commit 3119798

Please sign in to comment.