Update to remove warnings, fix new 8266 core rev
Remove build warnings and use the faster pgm_read_*_aligned macros to update to the latest ESP8266 Arduino core.
This commit is contained in:
1 parent
2f2898c496
commit
2d8a97767c
10 files changed
+12
-4
No files matched your search
@@ -162,7 +162,7 @@ void AudioFileSourceBuffer::fill()
|
||||
int cnt = src->readNonBlock(&buffer[writePtr], bytesAvailEnd);
|
||||
length += cnt;
|
||||
writePtr = (writePtr + cnt) % buffSize;
|
||||
if (cnt != bytesAvailEnd) return;
|
||||
if (cnt != (int)bytesAvailEnd) return;
|
||||
}
|
||||
|
||||
if (readPtr > 1) {
|
||||
|
||||
Reference in new issue
Block a user