1
0
Fork 0
mirror of https://github.com/EdgeTX/edgetx.git synced 2025-07-23 16:25:12 +03:00

Improve power meter (#6393)

Improve power meter
This commit is contained in:
3djc 2019-04-17 11:58:30 +02:00 committed by Bertrand Songis
parent da69083bce
commit 930a3690ad
3 changed files with 65 additions and 27 deletions

View file

@ -22,7 +22,7 @@
extern uint8_t g_moduleIdx;
enum SpektrumFields {
enum SpectrumFields {
SPECTRUM_FREQUENCY,
SPECTRUM_SPAN,
SPECTRUM_FIELDS_MAX
@ -64,7 +64,7 @@ void menuRadioSpectrumAnalyser(event_t event)
moduleSettings[g_moduleIdx].mode = MODULE_MODE_SPECTRUM_ANALYSER;
}
for (uint8_t i=0; i<SPECTRUM_FIELDS_MAX+1; i++) {
for (uint8_t i=0; i<SPECTRUM_FIELDS_MAX; i++) {
LcdFlags attr = (menuHorizontalPosition == i ? (s_editMode>0 ? INVERS|BLINK : INVERS) : 0);
switch (i) {