Move the callback constant strings to PMEM
This commit is contained in:
1 parent
634d0b8d02
commit
d923ebef36
8 files changed
+27
-26
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user