Browse Source

Free memory in debug

fastled
Xose Pérez 7 years ago
parent
commit
dea78d17ce
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      code/espurna/debug.ino

+ 4
- 0
code/espurna/debug.ino View File

@ -47,6 +47,8 @@ void debugSend(const char * format, ...) {
_telnetWrite(buffer, strlen(buffer));
#endif
free(buffer);
}
void debugSend_P(PGM_P format, ...) {
@ -83,6 +85,8 @@ void debugSend_P(PGM_P format, ...) {
_telnetWrite(buffer, strlen(buffer));
#endif
free(buffer);
}
// -----------------------------------------------------------------------------


Loading…
Cancel
Save