From 584e3af035e5dd0c60819b609070ca98b6428036 Mon Sep 17 00:00:00 2001 From: Siegfried Siegert Date: Tue, 23 May 2023 10:21:00 +0200 Subject: [PATCH] Start CashInput with UINT_MAX (PayUp) --- src/ATBAPP/ATBDeviceControllerPlugin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ATBAPP/ATBDeviceControllerPlugin.cpp b/src/ATBAPP/ATBDeviceControllerPlugin.cpp index 66c6b90..3adc414 100644 --- a/src/ATBAPP/ATBDeviceControllerPlugin.cpp +++ b/src/ATBAPP/ATBDeviceControllerPlugin.cpp @@ -58,6 +58,8 @@ void ATBDeviceControllerPlugin::requestStartCashInput(const QString & amount) uint32_t amountInt = static_cast(amount.toUInt()); + if (amountInt == 0) amountInt = UINT_MAX; + hw->cash_startPayment(amountInt); }