* fix brackets
This commit is contained in:
lumapu 2024-01-31 22:24:08 +01:00
parent ac58f2f078
commit 349184a113
7 changed files with 24 additions and 19 deletions

View file

@ -464,7 +464,7 @@ class Inverter {
status = InverterStatus::OFF;
actPowerLimit = 0xffff; // power limit will be read once inverter becomes available
alarmMesIndex = 0;
if(ivRadioType == INV_RADIO_TYPE_NRF) {
if(INV_RADIO_TYPE_NRF == ivRadioType) {
heuristics.clear();
#ifdef DYNAMIC_OFFSET
rxOffset = ivGen == IV_HM ? 13 : 12; // effective 3 (or 2), but can easily be recognized as default setting