Skip to content

Commit

Permalink
Better WLED Audio timeout messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
netmindz committed Mar 6, 2024
1 parent d25876e commit 73d6b44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/User/UserModWLEDAudio.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class UserModWLEDAudio:public SysModule {
// USER_PRINTF("%d, %s, %d\n", sync.receivedFormat, sync.sourceIP.toString().c_str(), sync.lastPacketTime);
String msg = "";
if((lastData != 0) && isTimeout()) {
msg = "No data";
msg = sync.sourceIP.toString() + " Timeout " + ((millis() - lastData) / 1000) +"s";
}
else {
switch(sync.receivedFormat) {
Expand Down

0 comments on commit 73d6b44

Please sign in to comment.