diff --git a/main/main.cpp b/main/main.cpp index 37829ae..2ba3ff1 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -738,10 +738,11 @@ int main() { } #if 1 + PermitType permitType(PERMIT_TYPE::SHORT_TERM_PARKING); for (int i = 200; i <= 200; i += 10) { cost = i; - if ((cs = compute_duration_for_parking_ticket(&cfg, start, cost, end))) { // return value + if ((cs = compute_duration_for_parking_ticket(&cfg, start, cost, end, permitType))) { // return value } if (!cs) {