Remove debug lines

This commit is contained in:
Dave Allie 2025-12-03 22:30:13 +11:00
parent 802c9d0a30
commit 4186c7da9e
No known key found for this signature in database
GPG Key ID: F2FDDB3AD8D0276F

View File

@ -369,9 +369,7 @@ int Epub::getSpineIndexForTocIndex(const int tocIndex) const {
int Epub::getTocIndexForSpineIndex(const int spineIndex) const { int Epub::getTocIndexForSpineIndex(const int spineIndex) const {
// the toc entry should have an href that matches the spine item // the toc entry should have an href that matches the spine item
// so we can find the toc index by looking for the href // so we can find the toc index by looking for the href
Serial.printf("Looking for %s\n", spine[spineIndex].second.c_str());
for (int i = 0; i < toc.size(); i++) { for (int i = 0; i < toc.size(); i++) {
Serial.printf("Looking at %s\n", toc[i].href.c_str());
if (toc[i].href == spine[spineIndex].second) { if (toc[i].href == spine[spineIndex].second) {
return i; return i;
} }