Fix: for load as plugin on target device

This commit is contained in:
Siegfried Siegert 2023-05-19 15:33:52 +02:00
parent d0445949d2
commit 3ac91305d4
Signed by: SiegfriedSiegert
GPG Key ID: 68371E015E8F0B03
3 changed files with 6 additions and 1 deletions

View File

@ -418,6 +418,7 @@ uint8_t epi_mifGetCardType(uint8_t const *holder);
void gpi_storeDcDataValid(bool isVal);
bool gpi_areDcDataValid();
bool epi_areDcDataValid();

View File

@ -51,6 +51,7 @@ void ATBDeviceControllerPlugin::requestStartCashInput(const QString & amount)
qCritical() << "Start Cash vending with amount = " << amount;
uint32_t amountInt = static_cast<uint32_t>(amount.toUInt());
hw->cash_startPayment(amountInt);
}

View File

@ -4100,7 +4100,10 @@ void hwapi::sys_restoreDeviceParameter(struct T_devices *deviceSettings) const
}
bool hwapi::sys_areDCdataValid(void) const
{
return epi_areDcDataValid();
}
/* ---------------------------------------------------------------------------------------------
// ------------ supervise all hardware components