diff --git a/library/src/calculator_functions.cpp b/library/src/calculator_functions.cpp index 5f8cef4..98693a3 100644 --- a/library/src/calculator_functions.cpp +++ b/library/src/calculator_functions.cpp @@ -458,7 +458,7 @@ Calculator::ComputeDurationFromCost(Configuration *cfg, arg(cost).arg(nettoParktimeForCost); int cnt = 0; - while (++cnt < 10 && netto_parking_time_in_minutes < nettoParktimeForCost) { + while (++cnt < 20 && netto_parking_time_in_minutes < nettoParktimeForCost) { // qCritical() << __func__ << ":" << __LINE__ << "cnt [" << cnt; brutto_parking_time_in_minutes = free_parking_time_in_minutes + netto_parking_time_in_minutes;