We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b30cdd3 commit 125bca6Copy full SHA for 125bca6
1 file changed
DBAPI.cpp
@@ -143,7 +143,7 @@ DBdeparr* DBAPI::getStationBoard(
143
}
144
reqDoc["ursprungsBahnhofId"] = stationId;
145
146
- for (uint8_t offset = 0; offset < maxDuration; offset++) {
+ for (uint8_t offset = 0; offset < maxDuration && cnt < maxCount; offset++) {
147
// Get current time, if requesting more than one hour and no request time is set
148
// Sanity check, that year is > 2020, so only successful synced time is used
149
// Your device would probably not survive 2020 years without restart, huh?
0 commit comments