mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2026-01-05 12:23:45 +01:00
Fix: Guru Meditation (StoreProhibited) when saving DTU settings
Fixed #1725
This commit is contained in:
@@ -239,8 +239,11 @@ CountryModeId_t HoymilesRadio_CMT::getCountryMode() const
|
||||
|
||||
void HoymilesRadio_CMT::setCountryMode(const CountryModeId_t mode)
|
||||
{
|
||||
_radio->setFrequencyBand(countryDefinition.at(mode).Band);
|
||||
_countryMode = mode;
|
||||
if (!_isInitialized) {
|
||||
return;
|
||||
}
|
||||
_radio->setFrequencyBand(countryDefinition.at(mode).Band);
|
||||
}
|
||||
|
||||
uint32_t HoymilesRadio_CMT::getInvBootFrequency() const
|
||||
|
||||
Reference in New Issue
Block a user