Simulate Account (-> because DeviceController ...
... functions currently do not provide usefull results.
This commit is contained in:
parent
9cd10bfed8
commit
80112f23b4
@ -199,6 +199,10 @@ void ATBDeviceControllerPlugin::private_checkAccountData()
|
|||||||
// cannot get accountData within ~10*500ms
|
// cannot get accountData within ~10*500ms
|
||||||
qCritical() << "checkAccountData() failed";
|
qCritical() << "checkAccountData() failed";
|
||||||
|
|
||||||
|
// simulate:
|
||||||
|
this->private_getAccountData();
|
||||||
|
|
||||||
|
|
||||||
// TODO: create and send an HealthEvent...
|
// TODO: create and send an HealthEvent...
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -220,6 +224,9 @@ void ATBDeviceControllerPlugin::private_getAccountData()
|
|||||||
|
|
||||||
int numberOfCoinVariants = sizeof(retVR.coinsInVault);
|
int numberOfCoinVariants = sizeof(retVR.coinsInVault);
|
||||||
|
|
||||||
|
// DEBUG
|
||||||
|
qCritical() << " NumberOfCoinVariants = " << numberOfCoinVariants;
|
||||||
|
|
||||||
// limit numberOfCoinVariants:
|
// limit numberOfCoinVariants:
|
||||||
if (numberOfCoinVariants > 16) { numberOfCoinVariants = 16; }
|
if (numberOfCoinVariants > 16) { numberOfCoinVariants = 16; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user