Move the callback constant strings to PMEM

This commit is contained in:
Earle F. Philhower, III committed 2017-12-15 12:03:05 -08:00
1 parent 634d0b8d02
commit d923ebef36
8 files changed
+27 -26

No files matched your search

+1 -1
View File
@@ -112,7 +112,7 @@ bool AudioGeneratorAAC::loop()
if (ret) {
// Error, skip the frame...
char buff[48];
sprintf(buff, "AAC decode error %d", ret);
sprintf_P(buff, PSTR("AAC decode error %d"), ret);
cb.st(ret, buff);
} else {
lastFrameEnd = buffValid - bytesLeft;