storagecells not updated in rx and allowing it in idle mode (#485)

This commit is contained in:
Dhanya Thattil
2022-06-09 13:42:18 +02:00
committed by GitHub
parent 8ca8185d41
commit 5490daa0a1
3 changed files with 5 additions and 1 deletions

View File

@ -1768,6 +1768,9 @@ int Module::getNumberOfAdditionalStorageCells() const {
void Module::setNumberOfAdditionalStorageCells(int value) {
sendToDetector(F_SET_NUM_ADDITIONAL_STORAGE_CELLS, value, nullptr);
if (shm()->useReceiverFlag) {
sendToReceiver(F_SET_RECEIVER_NUM_ADD_STORAGE_CELLS, value, nullptr);
}
}
int Module::getStorageCellStart() const {