Compare commits
4 Commits
1cc14e9a4c
...
1.99.11
Author | SHA1 | Date | |
---|---|---|---|
dd29fb0762
|
|||
c9e5834e29
|
|||
8fa6d40a0c
|
|||
3e7f71899c |
@@ -720,6 +720,10 @@ char T_datif::loadRecDataFromFrame()
|
|||||||
if (readSource == 31) {
|
if (readSource == 31) {
|
||||||
T_dynamicCondition const *dynCond = reinterpret_cast<T_dynamicCondition const *>(receivedData);
|
T_dynamicCondition const *dynCond = reinterpret_cast<T_dynamicCondition const *>(receivedData);
|
||||||
dump(dynCond);
|
dump(dynCond);
|
||||||
|
if (dynCond->coinAttached > 0) {
|
||||||
|
qCritical() << __func__ << ":" << __LINE__ << ": dynCond->coinAttached"
|
||||||
|
<< QByteArray(reinterpret_cast<char const *>(receivedData), RdDleng).toHex(':');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
readCount = writeCount;
|
readCount = writeCount;
|
||||||
@@ -1201,7 +1205,7 @@ char T_datif::loadRecDataFromFrame()
|
|||||||
uit2=0;
|
uit2=0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (uit2==3 || uit2==5 || uit2==10 || uit2==20 || uit2==50 || uit2==100 || uit2==200 || uit2==500)
|
if (uit2==3 || uit2==5 || uit2==10 || uit2==20 || uit2==40 || uit2==50 || uit2==100 || uit2==200 || uit2==500)
|
||||||
{
|
{
|
||||||
// valid coin
|
// valid coin
|
||||||
if ((newInsertedAmount != lastInsertedAmount) || uit2>0 )
|
if ((newInsertedAmount != lastInsertedAmount) || uit2>0 )
|
||||||
|
Reference in New Issue
Block a user