Start CashInput with UINT_MAX (PayUp)
This commit is contained in:
parent
2ac0f5b275
commit
584e3af035
@ -58,6 +58,8 @@ void ATBDeviceControllerPlugin::requestStartCashInput(const QString & amount)
|
|||||||
|
|
||||||
uint32_t amountInt = static_cast<uint32_t>(amount.toUInt());
|
uint32_t amountInt = static_cast<uint32_t>(amount.toUInt());
|
||||||
|
|
||||||
|
if (amountInt == 0) amountInt = UINT_MAX;
|
||||||
|
|
||||||
hw->cash_startPayment(amountInt);
|
hw->cash_startPayment(amountInt);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user