Add some debug output in case the dc-data-valid flag is reset to false.
This commit is contained in:
parent
e7538ae5df
commit
2c67638c34
@ -1794,6 +1794,8 @@ void hwapi::prn_sendText(QByteArray *buf) const
|
||||
uint16_t nn, pp, mm, leng_byt, leng_blk, llb, freeStak;
|
||||
uint8_t tmp66[66];
|
||||
|
||||
qCritical() << __PRETTY_FUNCTION__ << "RESET DC DATA VALID";
|
||||
|
||||
epi_clearDynMachineConditions(); // 24.6.23
|
||||
gpi_storeDcDataValid(0);
|
||||
|
||||
@ -2898,6 +2900,8 @@ bool hwapi::prn_printTemplate(uint8_t nrOftemplate) const
|
||||
{
|
||||
// return true if sending, false if cmd-stack is full
|
||||
|
||||
qCritical() << __PRETTY_FUNCTION__ << "RESET DC DATA VALID";
|
||||
|
||||
epi_clearDynMachineConditions(); // 24.6.23
|
||||
gpi_storeDcDataValid(0);
|
||||
|
||||
@ -3002,6 +3006,8 @@ bool hwapi::log_getVaultRecord(struct T_vaultRecord *retVR) const
|
||||
|
||||
bool hwapi::prn_printAccountReceipt(void) const
|
||||
{
|
||||
qCritical() << __PRETTY_FUNCTION__ << "RESET DC DATA VALID";
|
||||
|
||||
epi_clearDynMachineConditions(); // 24.6.23
|
||||
gpi_storeDcDataValid(0);
|
||||
return sendFDcmd_set(154, 0,0, 0,0,0,0);
|
||||
@ -3009,6 +3015,8 @@ bool hwapi::prn_printAccountReceipt(void) const
|
||||
|
||||
bool hwapi::prn_printTestTicket(void) const
|
||||
{
|
||||
qCritical() << __PRETTY_FUNCTION__ << "RESET DC DATA VALID";
|
||||
|
||||
// return true if sending to DC OK, false if cmd-stack is full
|
||||
epi_clearDynMachineConditions(); // 24.6.23
|
||||
gpi_storeDcDataValid(0);
|
||||
@ -3438,6 +3446,8 @@ bool hwapi::prn_printKombiticket(uint8_t nrOfKombi) const
|
||||
if ((nrOfKombi<1) || (nrOfKombi>8))
|
||||
return false;
|
||||
|
||||
qCritical() << __PRETTY_FUNCTION__ << "RESET DC DATA VALID";
|
||||
|
||||
epi_clearDynMachineConditions(); // 24.6.23
|
||||
gpi_storeDcDataValid(0);
|
||||
|
||||
@ -3568,6 +3578,8 @@ bool hwapi::log_getVaultData(uint8_t *data) const
|
||||
// new from 1.8.23
|
||||
bool hwapi::prn_printOneAccountReceipt(uint16_t accountNr) const
|
||||
{
|
||||
qCritical() << __PRETTY_FUNCTION__ << "RESET DC DATA VALID";
|
||||
|
||||
// print one out of eight stored last accounting receipts
|
||||
// function log_getHoldAccountNumbers() gives a list of acc-Nr. of the stored receipts
|
||||
epi_clearDynMachineConditions(); // 24.6.23
|
||||
|
Loading…
Reference in New Issue
Block a user