Unverified Commit e5f4bfe4 authored by qwerty756's avatar qwerty756 Committed by GitHub

Remove useless codes (#9110)

parent b87cc26a
......@@ -867,7 +867,7 @@ void RadioComponentController::_loadSettings(void)
_transmitterMode = settings.value(_settingsKeyTransmitterMode, 2).toInt();
settings.endGroup();
if (_transmitterMode != 1 || _transmitterMode != 2) {
if (!(_transmitterMode == 1 || _transmitterMode == 2)) {
_transmitterMode = 2;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment