mirror of
https://github.com/EdgeTX/edgetx.git
synced 2025-07-23 08:15:13 +03:00
[X9D+ 2019] Spectrum analyser fix
This commit is contained in:
parent
5ae8d4f9dd
commit
12482fa904
1 changed files with 1 additions and 1 deletions
|
@ -121,6 +121,6 @@ void menuRadioSpectrumAnalyser(event_t event)
|
||||||
}
|
}
|
||||||
|
|
||||||
int8_t y = max<int8_t>(FH, LCD_H - peak_y - FH);
|
int8_t y = max<int8_t>(FH, LCD_H - peak_y - FH);
|
||||||
lcdDrawNumber(min<uint8_t>(100, peak_x), y, ((reusableBuffer.spectrumAnalyser.freq - reusableBuffer.spectrumAnalyser.span / 2) + peak_x * (reusableBuffer.spectrumAnalyser.span / 128)) / 1000000, TINSIZE);
|
lcdDrawNumber(min<uint8_t>(100, peak_x), y, ((reusableBuffer.spectrumAnalyser.freq - reusableBuffer.spectrumAnalyser.span / 2) + peak_x * (reusableBuffer.spectrumAnalyser.span / LCD_W)) / 1000000, TINSIZE);
|
||||||
lcdDrawText(lcdLastRightPos, y, "M", TINSIZE);
|
lcdDrawText(lcdLastRightPos, y, "M", TINSIZE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue