Never leave MPM mode set to SPECTRUM_ANALYSER
This commit is contained in:
committed by
Raphael Coeffic
parent
a5a54b6ce7
commit
5cb1278cb3
@@ -270,11 +270,9 @@ void RadioSpectrumAnalyser::stop()
|
|||||||
&reusableBuffer.moduleSetup.pxx2.moduleInformation, PXX2_HW_INFO_TX_ID,
|
&reusableBuffer.moduleSetup.pxx2.moduleInformation, PXX2_HW_INFO_TX_ID,
|
||||||
PXX2_HW_INFO_TX_ID);
|
PXX2_HW_INFO_TX_ID);
|
||||||
} else if (isModuleMultimodule(moduleIdx)) {
|
} else if (isModuleMultimodule(moduleIdx)) {
|
||||||
if (reusableBuffer.spectrumAnalyser.moduleOFF) {
|
moduleState[moduleIdx].mode = MODULE_MODE_NORMAL;
|
||||||
|
if (reusableBuffer.spectrumAnalyser.moduleOFF)
|
||||||
setModuleType(INTERNAL_MODULE, MODULE_TYPE_NONE);
|
setModuleType(INTERNAL_MODULE, MODULE_TYPE_NONE);
|
||||||
} else {
|
|
||||||
moduleState[moduleIdx].mode = MODULE_MODE_NORMAL;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
/* wait 1s to resume normal operation before leaving */
|
/* wait 1s to resume normal operation before leaving */
|
||||||
// watchdogSuspend(1000);
|
// watchdogSuspend(1000);
|
||||||
|
|||||||
Reference in New Issue
Block a user