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:
Earle F. Philhower, III committed 2019-04-12 15:45:34 -07:00
1 parent 2f2898c496
commit 2d8a97767c
10 files changed
+12 -4

No files matched your search

+1 -1
View File
@@ -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) {