mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-06 23:57:39 +03:00
Fix
This commit is contained in:
parent
c22a2b56fb
commit
1bcc9068c1
@ -27,7 +27,6 @@ size_t OpdsParser::write(uint8_t c) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
size_t OpdsParser::write(const uint8_t* xmlData, const size_t length) {
|
size_t OpdsParser::write(const uint8_t* xmlData, const size_t length) {
|
||||||
Serial.printf("Got %d bytes to parse\n", length);
|
|
||||||
if (errorOccured) {
|
if (errorOccured) {
|
||||||
return length;
|
return length;
|
||||||
}
|
}
|
||||||
@ -66,6 +65,7 @@ size_t OpdsParser::write(const uint8_t* xmlData, const size_t length) {
|
|||||||
currentPos += toRead;
|
currentPos += toRead;
|
||||||
remaining -= toRead;
|
remaining -= toRead;
|
||||||
}
|
}
|
||||||
|
return length;
|
||||||
}
|
}
|
||||||
|
|
||||||
void OpdsParser::flush() {
|
void OpdsParser::flush() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user