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); }