Browse Source

Check if codacy likes this

fastled^2
Maxim Prokhorov 6 years ago
parent
commit
415649fabb
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      code/espurna/debug.ino

+ 2
- 2
code/espurna/debug.ino View File

@ -73,9 +73,9 @@ void _debugSend(char * message) {
#if DEBUG_ADD_TIMESTAMP #if DEBUG_ADD_TIMESTAMP
char buffer[strlen(timestamp) + strlen(message) + 1]; char buffer[strlen(timestamp) + strlen(message) + 1];
snprintf_P(buffer, sizeof(buffer), "%s%s", timestamp, message); snprintf_P(buffer, sizeof(buffer), "%s%s", timestamp, message);
root["weblog"] = buffer;
root.set("weblog", buffer);
#else #else
root["weblog"] = message;
root.set("weblog", message);
#endif #endif
String out; String out;
root.printTo(out); root.printTo(out);


Loading…
Cancel
Save