Apply DSP meter to all lcd types

This commit is contained in:
phdlee
2018-07-17 20:41:17 +09:00
parent b984f62dfd
commit c27bbf1b6b
6 changed files with 77 additions and 56 deletions

View File

@@ -669,6 +669,9 @@ void idle_process()
int newSMeter;
displaySDRON = 0;
#ifdef USE_I2CSMETER
scaledSMeter = GetI2CSmeterValue(I2CMETER_CALCS);
#else
//VK2ETA S-Meter from MAX9814 TC pin / divide 4 by KD8CEC for reduce EEPromSize
newSMeter = analogRead(ANALOG_SMETER) / 4;
@@ -684,9 +687,9 @@ void idle_process()
break;
}
}
#endif
DisplayMeter(0, scaledSMeter, 0);
checkCountSMeter = 0;
} //end of S-Meter
_Addr = I2C_LCD_MASTER_ADDRESS;