Skip to content

Commit

Permalink
Merge pull request #53 from softwarecrash/master
Browse files Browse the repository at this point in the history
correct dongle LED
  • Loading branch information
softwarecrash authored Sep 21, 2023
2 parents ae0bc94 + 860dc6c commit 6926b90
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/status-LED.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ void notificationLED()
ledState = 1;


digitalWrite(LED_COM, mppClient.connection);
digitalWrite(LED_SRV, mqttclient.connected());
digitalWrite(LED_NET, (WiFi.status() == WL_CONNECTED) ? true : false);
digitalWrite(LED_COM, !mppClient.connection);
digitalWrite(LED_SRV, !mqttclient.connected());
digitalWrite(LED_NET, !(WiFi.status() == WL_CONNECTED) ? true : false);
}

if (ledState > 0)
Expand Down

0 comments on commit 6926b90

Please sign in to comment.